X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FLogout.php;h=4ccba2d744f23188631b4626d817ea185fb17b78;hb=3cd654e76f32dbcf505aef6a60a3e42d318f8b61;hp=7024fc110ac3081d3e92202cbde0489c4ee75bb7;hpb=94eca7704130822bf83bb5fee6930dee6bae81dd;p=friendica.git diff --git a/src/Module/Logout.php b/src/Module/Logout.php index 7024fc110a..4ccba2d744 100644 --- a/src/Module/Logout.php +++ b/src/Module/Logout.php @@ -2,13 +2,13 @@ /** * @file src/Module/Logout.php */ + namespace Friendica\Module; use Friendica\BaseModule; -use Friendica\Core\Addon; use Friendica\Core\Authentication; +use Friendica\Core\Hook; use Friendica\Core\L10n; -use Friendica\Core\System; /** * Logout module @@ -22,7 +22,7 @@ class Logout extends BaseModule */ public static function init() { - Addon::callHooks("logging_out"); + Hook::callAll("logging_out"); Authentication::deleteSession(); info(L10n::t('Logged out.') . EOL); self::getApp()->internalRedirect();