X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotify.php;h=fae7ebb39b921cb7a29a4d603b749ca2ae5e8364;hb=3359f3f5c7ecc4b6a34c4fcfc095ab4dd5fab0f1;hp=6f7d222d8ba72440480cd090cb1253b146dbe8b3;hpb=6189f6c8e76305ae5a29a685e3ec5a418ff92941;p=friendica.git diff --git a/mod/notify.php b/mod/notify.php index 6f7d222d8b..fae7ebb39b 100644 --- a/mod/notify.php +++ b/mod/notify.php @@ -3,6 +3,7 @@ use Friendica\App; use Friendica\Core\NotificationsManager; use Friendica\Core\System; +use Friendica\Database\DBM; function notify_init(App $a) { if (! local_user()) { @@ -55,7 +56,7 @@ function notify_content(App $a) { require_once('include/bbcode.php'); $r = $nm->getAll(array('seen'=>0)); - if (dbm::is_result($r) > 0) { + if (DBM::is_result($r) > 0) { foreach ($r as $it) { $notif_content .= replace_macros($not_tpl,array( '$item_link' => System::baseUrl(true).'/notify/view/'. $it['id'],