Skip to content

Commit

Permalink
Fixed issue: Useless line
Browse files Browse the repository at this point in the history
  • Loading branch information
Aestu committed Jan 29, 2015
1 parent 51e8d5f commit afa4743
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions application/controllers/admin/authentication.php
Expand Up @@ -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);
Expand Down

0 comments on commit afa4743

Please sign in to comment.