mirror of
https://github.com/friendica/friendica
synced 2025-04-26 01:10:15 +00:00
*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
c43389f79a
commit
884f44ce94
108 changed files with 407 additions and 437 deletions
|
@ -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')))",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue