mirror of
https://github.com/friendica/friendica
synced 2025-04-22 19:50:11 +00:00
Update Addon functions and calls
Update function names and calls for Addon class.
This commit is contained in:
parent
213f6ae1a1
commit
11cf36105c
73 changed files with 544 additions and 464 deletions
|
@ -3,10 +3,10 @@
|
|||
namespace Friendica\Module;
|
||||
|
||||
use Friendica\BaseModule;
|
||||
use Friendica\Core\Addon;
|
||||
|
||||
require_once 'boot.php';
|
||||
require_once 'include/pgettext.php';
|
||||
require_once 'include/plugin.php';
|
||||
require_once 'include/security.php';
|
||||
|
||||
/**
|
||||
|
@ -21,7 +21,7 @@ class Logout extends BaseModule
|
|||
*/
|
||||
public static function init()
|
||||
{
|
||||
call_hooks("logging_out");
|
||||
Addon::callHooks("logging_out");
|
||||
nuke_session();
|
||||
info(t('Logged out.') . EOL);
|
||||
goaway(self::getApp()->get_baseurl());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue