X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotify.php;h=458d0140a64130f28e2f383d392692b75da64f2e;hb=refs%2Fheads%2Ffixes%2Fe-notice-gcontact;hp=f22c1cf5b1d11342b5c92b861ed7714397e40186;hpb=9e3bae5caa6725737c2a1221a6c499e06ea0077c;p=friendica.git diff --git a/mod/notify.php b/mod/notify.php index f22c1cf5b1..458d0140a6 100644 --- a/mod/notify.php +++ b/mod/notify.php @@ -8,7 +8,7 @@ use Friendica\Content\Text\BBCode; use Friendica\Core\L10n; use Friendica\Core\NotificationsManager; use Friendica\Core\System; -use Friendica\Database\DBM; +use Friendica\Database\DBA; use Friendica\Model\Item; use Friendica\Module\Login; use Friendica\Util\Temporal; @@ -64,7 +64,7 @@ function notify_content(App $a) $not_tpl = get_markup_template('notify.tpl'); $r = $nm->getAll(['seen'=>0]); - if (DBM::is_result($r) > 0) { + if (DBA::isResult($r) > 0) { foreach ($r as $it) { $notif_content .= replace_macros($not_tpl, [ '$item_link' => System::baseUrl(true).'/notify/view/'. $it['id'],