Replaced goaway() with System::redirectTo()
This commit is contained in:
parent
a95606a10a
commit
3d3a11fa46
5 changed files with 13 additions and 8 deletions
|
@ -14,6 +14,7 @@ use Friendica\Core\Config;
|
|||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Util\Emailer;
|
||||
|
||||
function notifyall_install()
|
||||
|
@ -95,7 +96,7 @@ function notifyall_post(App $a)
|
|||
}
|
||||
|
||||
notice(L10n::t('Emails sent'));
|
||||
$a->internalRedirect('admin');
|
||||
System::redirectTo('admin');
|
||||
}
|
||||
|
||||
function notifyall_content(&$a)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue