diff options
author | Mario <mario@mariovavti.com> | 2022-12-10 17:03:57 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-12-10 17:03:57 +0000 |
commit | e1c28351734d175476bc8f0d6cdf261dee3c07e0 (patch) | |
tree | 50b4659c904c0b2803d57d114a104ccd8655fd6c /Zotlabs/Daemon/Deliver_hooks.php | |
parent | 4f9a933108eb0a41671ec9464f1d7fb90c2d2233 (diff) | |
download | volse-hubzilla-e1c28351734d175476bc8f0d6cdf261dee3c07e0.tar.gz volse-hubzilla-e1c28351734d175476bc8f0d6cdf261dee3c07e0.tar.bz2 volse-hubzilla-e1c28351734d175476bc8f0d6cdf261dee3c07e0.zip |
add option to set worker sleep based on load average, remove redundand code and add return to some daemons
Diffstat (limited to 'Zotlabs/Daemon/Deliver_hooks.php')
-rw-r--r-- | Zotlabs/Daemon/Deliver_hooks.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Deliver_hooks.php b/Zotlabs/Daemon/Deliver_hooks.php index 4d3ce4e1d..1e478db1e 100644 --- a/Zotlabs/Daemon/Deliver_hooks.php +++ b/Zotlabs/Daemon/Deliver_hooks.php @@ -12,8 +12,12 @@ class Deliver_hooks { $r = q("select * from item where id = '%d'", intval($argv[1]) ); - if ($r) + + if ($r) { call_hooks('notifier_normal', $r[0]); + } + + return; } } |