diff options
author | mrjive <mrjive@mrjive.it> | 2016-01-10 09:44:43 +0100 |
---|---|---|
committer | mrjive <mrjive@mrjive.it> | 2016-01-10 09:44:43 +0100 |
commit | 9cbbc92062f0e42e32881a972a234a6c25758c37 (patch) | |
tree | ad7c9ba78f82aa67ba6c4846a857dfd9c7355cdd /include/notifier.php | |
parent | 0fa34c6880853e64b88749bcf9cc9b9e8c9a198b (diff) | |
parent | 23c7086605d54fc6d9a537b20fc3377a52b24ee8 (diff) | |
download | volse-hubzilla-9cbbc92062f0e42e32881a972a234a6c25758c37.tar.gz volse-hubzilla-9cbbc92062f0e42e32881a972a234a6c25758c37.tar.bz2 volse-hubzilla-9cbbc92062f0e42e32881a972a234a6c25758c37.zip |
Merge pull request #13 from redmatrix/master
updating from original codebase
Diffstat (limited to 'include/notifier.php')
-rw-r--r-- | include/notifier.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/notifier.php b/include/notifier.php index 32d702cb5..5260e629f 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -578,7 +578,7 @@ function notifier_run($argv, $argc){ )); // only create delivery reports for normal undeleted items - if(is_array($target_item) && array_key_exists('postopts',$target_item) && (! $target_item['item_deleted'])) { + if(is_array($target_item) && array_key_exists('postopts',$target_item) && (! $target_item['item_deleted']) && (! get_config('system','disable_dreport'))) { q("insert into dreport ( dreport_mid, dreport_site, dreport_recip, dreport_result, dreport_time, dreport_xchan, dreport_queue ) values ( '%s','%s','%s','%s','%s','%s','%s' ) ", dbesc($target_item['mid']), dbesc($hub['hubloc_host']), |