mirror of
https://github.com/friendica/friendica
synced 2025-04-24 07:50:11 +00:00
App::get_baseurl is now replaced with System::baseUrl
This commit is contained in:
parent
3c24bed412
commit
5adfeb0bd5
134 changed files with 603 additions and 624 deletions
|
@ -278,7 +278,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')))",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue