App::get_baseurl is now replaced with System::baseUrl

This commit is contained in:
Michael 2017-08-26 07:32:10 +00:00
parent 3c24bed412
commit 5adfeb0bd5
134 changed files with 603 additions and 624 deletions

View file

@ -124,7 +124,7 @@ function import_account(App $a, $file) {
}
$oldbaseurl = $account['baseurl'];
$newbaseurl = App::get_baseurl();
$newbaseurl = System::baseUrl();
$olduid = $account['user']['uid'];
unset($account['user']['uid']);
@ -278,5 +278,5 @@ function import_account(App $a, $file) {
proc_run(PRIORITY_HIGH, 'include/notifier.php', 'relocate', $newuid);
info(t("Done. You can now login with your username and password"));
goaway(App::get_baseurl() . "/login");
goaway(System::baseUrl() . "/login");
}