X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotify.php;h=fae7ebb39b921cb7a29a4d603b749ca2ae5e8364;hb=3359f3f5c7ecc4b6a34c4fcfc095ab4dd5fab0f1;hp=0026f5ca6eb6f66556c35326966604e81d6f9899;hpb=8e12b159d947fb27ad6bdd5e06e3a90c1713687e;p=friendica.git diff --git a/mod/notify.php b/mod/notify.php index 0026f5ca6e..fae7ebb39b 100644 --- a/mod/notify.php +++ b/mod/notify.php @@ -1,5 +1,9 @@ argc > 2 && $a->argv[1] === 'mark' && $a->argv[2] === 'all' ) { @@ -52,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'])