From 12948f8e94a28440286c158ba9444ff81861199b Mon Sep 17 00:00:00 2001 From: Alfredo Esteban Date: Thu, 29 Jan 2015 01:21:41 +0100 Subject: [PATCH] Fixed issue: Useless line --- application/controllers/admin/authentication.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/application/controllers/admin/authentication.php b/application/controllers/admin/authentication.php index 14140bb7066..3d3103bef3b 100644 --- a/application/controllers/admin/authentication.php +++ b/application/controllers/admin/authentication.php @@ -113,9 +113,6 @@ public function index() */ public function logout() { - // Fetch the current user - $plugin = App()->user->getState('plugin', null); // Save for afterLogout, current user will be destroyed by then - /* Adding beforeLogout event */ $beforeLogout = new PluginEvent('beforeLogout'); App()->getPluginManager()->dispatchEvent($beforeLogout);