]> git.mxchange.org Git - friendica.git/blobdiff - include/threads.php
huh? missed again
[friendica.git] / include / threads.php
index 48391174ecd683eaaf9d577f6e1d777d64d1d8c0..c214cf264487a6f89ddecab8248e7b81909ed5b8 100644 (file)
@@ -267,12 +267,10 @@ function update_threads() {
 }
 
 function update_threads_mention() {
-       $a = get_app();
-
        $users = q("SELECT `uid`, `nickname` FROM `user` ORDER BY `uid`");
 
        foreach ($users AS $user) {
-               $self = normalise_link($a->get_baseurl() . '/profile/' . $user['nickname']);
+               $self = normalise_link(App::get_baseurl() . '/profile/' . $user['nickname']);
                $selfhttps = str_replace("http://", "https://", $self);
                $parents = q("SELECT DISTINCT(`parent`) FROM `item` WHERE `uid` = %d AND
                                ((`owner-link` IN ('%s', '%s')) OR (`author-link` IN ('%s', '%s')))",