mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 18:50:15 +00:00
Merge pull request #750 from nupplaphil/goaway_to_redirectto
Replaced goaway() with System::redirect()
This commit is contained in:
commit
dfbab2de7e
5 changed files with 5 additions and 0 deletions
|
@ -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