X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmood.php;h=bffe37f3be7ced95cff2f60dbd5b3c8d71159b3e;hb=21a3a6f45b2cb7573e0f2013d179bddd254a526d;hp=26eb736d19848a53d391b80d887247860833be9c;hpb=478e363967165980eb826e8d109dd15770e2c784;p=friendica.git diff --git a/mod/mood.php b/mod/mood.php index 26eb736d19..bffe37f3be 100644 --- a/mod/mood.php +++ b/mod/mood.php @@ -3,6 +3,7 @@ use Friendica\App; use Friendica\Core\System; use Friendica\Core\Worker; +use Friendica\Database\DBM; require_once('include/security.php'); require_once('include/bbcode.php'); @@ -40,7 +41,7 @@ function mood_init(App $a) { intval($parent), intval($uid) ); - if (dbm::is_result($r)) { + if (DBM::is_result($r)) { $parent_uri = $r[0]['uri']; $private = $r[0]['private']; $allow_cid = $r[0]['allow_cid']; @@ -99,13 +100,13 @@ function mood_init(App $a) { intval($uid), intval($item_id) ); - Worker::add(PRIORITY_HIGH, "notifier", "tag", $item_id); + Worker::add(PRIORITY_HIGH, "Notifier", "tag", $item_id); } call_hooks('post_local_end', $arr); - Worker::add(PRIORITY_HIGH, "notifier", "like", $post_id); + Worker::add(PRIORITY_HIGH, "Notifier", "like", $post_id); return; }