$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"]);
$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'],