]> git.mxchange.org Git - friendica.git/blobdiff - mod/notify.php
Fix various spelling mistakes
[friendica.git] / mod / notify.php
index 87ab68366ba1b4d0535e2efaf4df8b4d70275928..a277e59813ecb53a11907a2a7e9736a609408cdb 100644 (file)
@@ -27,7 +27,7 @@ function notify_init(App $a)
                        $nm->setSeen($note);
 
                        // The friendica client has problems with the GUID. this is some workaround
-                       if ($a->is_friendica_app()) {
+                       if ($a->isFriendicaApp()) {
                                require_once("include/items.php");
                                $urldata = parse_url($note['link']);
                                $guid = basename($urldata["path"]);
@@ -64,7 +64,7 @@ function notify_content(App $a)
        $not_tpl = get_markup_template('notify.tpl');
 
        $r = $nm->getAll(['seen'=>0]);
-       if (DBA::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'],