diff options
author | redmatrix <git@macgirvin.com> | 2016-01-07 14:27:06 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-01-07 14:27:06 -0800 |
commit | bf99906386a7503de83d9683dd58cd7821456a18 (patch) | |
tree | 77c924e0d8ff622403d556a470f68dab4f329633 /include/zot.php | |
parent | 3c8818417798aaa5791f8581059883ad6431a0eb (diff) | |
download | volse-hubzilla-bf99906386a7503de83d9683dd58cd7821456a18.tar.gz volse-hubzilla-bf99906386a7503de83d9683dd58cd7821456a18.tar.bz2 volse-hubzilla-bf99906386a7503de83d9683dd58cd7821456a18.zip |
provide admin toggle to disable delivery reports
Diffstat (limited to 'include/zot.php')
-rw-r--r-- | include/zot.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php index a644bbd06..beaa54126 100644 --- a/include/zot.php +++ b/include/zot.php @@ -3924,6 +3924,9 @@ function check_zotinfo($channel,$locations,&$ret) { function delivery_report_is_storable($dr) { + if(get_config('system','disable_dreport')) + return false; + call_hooks('dreport_is_storable',$dr); // let plugins accept or reject - if neither, continue on |