mirror of
https://github.com/friendica/friendica
synced 2025-04-25 05:10:11 +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
|
@ -133,7 +133,7 @@ function import_account(&$a, $file) {
|
|||
}
|
||||
|
||||
$oldbaseurl = $account['baseurl'];
|
||||
$newbaseurl = $a->get_baseurl();
|
||||
$newbaseurl = App::get_baseurl();
|
||||
$olduid = $account['user']['uid'];
|
||||
|
||||
unset($account['user']['uid']);
|
||||
|
@ -290,5 +290,5 @@ function import_account(&$a, $file) {
|
|||
proc_run(PRIORITY_HIGH, 'include/notifier.php', 'relocate', $newuid);
|
||||
|
||||
info(t("Done. You can now login with your username and password"));
|
||||
goaway($a->get_baseurl() . "/login");
|
||||
goaway(App::get_baseurl() . "/login");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue