aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-01-07 14:27:06 -0800
committerredmatrix <git@macgirvin.com>2016-01-07 14:27:06 -0800
commitbf99906386a7503de83d9683dd58cd7821456a18 (patch)
tree77c924e0d8ff622403d556a470f68dab4f329633 /include/zot.php
parent3c8818417798aaa5791f8581059883ad6431a0eb (diff)
downloadvolse-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.php3
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