Update Addon functions and calls
Update function names and calls for Addon class.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user