X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotify.php;h=fae7ebb39b921cb7a29a4d603b749ca2ae5e8364;hb=072edc19494b662ef42561861ebcc1c2fa03ac4f;hp=e3806819342b12dcf67c8cd6c73ea7f2d48b9c5b;hpb=2b161108fe6552ef2effb7b300553f0242b2e49e;p=friendica.git diff --git a/mod/notify.php b/mod/notify.php index e380681934..fae7ebb39b 100644 --- a/mod/notify.php +++ b/mod/notify.php @@ -1,8 +1,9 @@ argc > 2 && $a->argv[1] === 'mark' && $a->argv[2] === 'all' ) { @@ -55,10 +56,10 @@ 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' => App::get_baseurl(true).'/notify/view/'. $it['id'], + '$item_link' => System::baseUrl(true).'/notify/view/'. $it['id'], '$item_image' => $it['photo'], '$item_text' => strip_tags(bbcode($it['msg'])), '$item_when' => relative_date($it['date'])