* @method static Core\Process process()
* @method static Core\Session\ISession session()
* @method static Database\Database dba()
+ * @method static Model\User\Cookie cookie()
* @method static Model\Notify notify()
* @method static Model\Introduction intro()
* @method static Protocol\Activity activity()
'process' => Core\Process::class,
'session' => Core\Session\ISession::class,
'dba' => Database\Database::class,
+ 'cookie' => Model\User\Cookie::class,
'notify' => Model\Notify::class,
'intro' => Model\Introduction::class,
'activity' => Protocol\Activity::class,
namespace Friendica\Module\Security;
use Friendica\BaseModule;
-use Friendica\App\Authentication;
use Friendica\Core\Cache;
use Friendica\Core\Hook;
use Friendica\Core\L10n;
}
Hook::callAll("logging_out");
+ DI::cookie()->clear();
Session::clear();
if ($visitor_home) {