X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fthreads.php;h=494fbe1ce33a0ccdecd127e13d52a0efa50c4e0b;hb=27646cc4ad8d715317a2ca055b6c3318ddf555a9;hp=c1277778e64f4788332b03abf7281790bce6c837;hpb=cdc41d6018e8e564b545e3c2eb6c77602c5ff2b4;p=friendica.git diff --git a/include/threads.php b/include/threads.php index c1277778e6..494fbe1ce3 100644 --- a/include/threads.php +++ b/include/threads.php @@ -1,6 +1,9 @@ $itemuri, 'uid' => 0)); - logger("delete_thread: Deleted shadow for item ".$itemuri." - ".print_r($result, true), LOGGER_DEBUG); + logger("delete_thread: Deleted shadow for item ".$itemuri, LOGGER_DEBUG); } } } @@ -277,7 +285,7 @@ function update_threads_mention() { $users = q("SELECT `uid`, `nickname` FROM `user` ORDER BY `uid`"); foreach ($users AS $user) { - $self = normalise_link(App::get_baseurl() . '/profile/' . $user['nickname']); + $self = normalise_link(System::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')))",