Bugfix: Only send a notifier when the item was really edited

This commit is contained in:
Michael 2018-05-17 05:49:55 +00:00
parent 3b2752c2fe
commit b333c7ae2e
3 changed files with 4 additions and 7 deletions

View file

@ -510,7 +510,7 @@ class Notifier {
'PubSubPublish');
}
logger('notifier: calling hooks', LOGGER_DEBUG);
logger('notifier: calling hooks for ' . $cmd . ' ' . $item_id, LOGGER_DEBUG);
if ($normal_mode) {
Addon::forkHooks($a->queue['priority'], 'notifier_normal', $target_item);