]> git.mxchange.org Git - friendica.git/blobdiff - include/enotify.php
Updated main translation file after adding strings
[friendica.git] / include / enotify.php
index c3943e5f6dae19bb1da335e2c045c58381723c2b..9e59f63259b5ebaaab58e20a56f55247b526556c 100644 (file)
@@ -149,7 +149,7 @@ function notification($params)
        }
 
        if ($params['type'] == Notify\Type::COMMENT || $params['type'] == Notify\Type::TAG_SELF) {
-               $thread = Item::selectFirstThreadForUser($params['uid'], ['ignored'], ['iid' => $parent_id, 'deleted' => false]);
+               $thread = Post::selectFirstThreadForUser($params['uid'], ['ignored'], ['iid' => $parent_id, 'deleted' => false]);
                if (DBA::isResult($thread) && $thread['ignored']) {
                        Logger::log('Thread ' . $parent_id . ' will be ignored', Logger::DEBUG);
                        return false;