]> git.mxchange.org Git - friendica.git/blobdiff - mod/notify.php
Rename DBM method calls to DBA method calls
[friendica.git] / mod / notify.php
index f22c1cf5b1d11342b5c92b861ed7714397e40186..87ab68366ba1b4d0535e2efaf4df8b4d70275928 100644 (file)
@@ -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::is_result($r) > 0) {
                foreach ($r as $it) {
                        $notif_content .= replace_macros($not_tpl, [
                                '$item_link' => System::baseUrl(true).'/notify/view/'. $it['id'],