Renamed System::redirect() to $a->redirect()
This commit is contained in:
@@ -239,7 +239,6 @@ class System extends BaseObject
|
||||
/// @todo Move the following functions from boot.php
|
||||
/*
|
||||
function killme()
|
||||
function goaway($s)
|
||||
function local_user()
|
||||
function public_contact()
|
||||
function remote_user()
|
||||
|
||||
@@ -272,6 +272,6 @@ class UserImport
|
||||
Worker::add(PRIORITY_HIGH, 'Notifier', 'relocate', $newuid);
|
||||
|
||||
info(L10n::t("Done. You can now login with your username and password"));
|
||||
goaway(System::baseUrl() . "/login");
|
||||
$a->redirect('login');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user