forked from friendica/friendica-addons
Merge pull request #750 from nupplaphil/goaway_to_redirectto
Replaced goaway() with System::redirect()
This commit is contained in:
commit
dfbab2de7e
|
@ -54,6 +54,7 @@ use Friendica\Core\Hook;
|
|||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
|
||||
function blackout_install() {
|
||||
Hook::register('page_header', 'addon/blackout/blackout.php', 'blackout_redirect');
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\PConfig;
|
||||
use Friendica\Core\System;
|
||||
|
||||
function startpage_install() {
|
||||
Hook::register('home_init', 'addon/startpage/startpage.php', 'startpage_home_init');
|
||||
|
|
|
@ -48,6 +48,7 @@ use Friendica\Core\Logger;
|
|||
use Friendica\Core\PConfig;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\GContact;
|
||||
|
|
|
@ -75,6 +75,7 @@ use Friendica\Core\Logger;
|
|||
use Friendica\Core\PConfig;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Model\Contact;
|
||||
|
|
Loading…
Reference in a new issue