Skip to content

Commit

Permalink
Removing unnecessary router object
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackwar committed Feb 10, 2015
1 parent 7e61dad commit fe8b57a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/mod_login/helper.php
Expand Up @@ -30,7 +30,6 @@ class ModLoginHelper
public static function getReturnURL($params, $type)
{
$app = JFactory::getApplication();
$router = $app::getRouter();
$item = $app->getMenu()->getItem($params->get($type));

if ($item)
Expand Down

0 comments on commit fe8b57a

Please sign in to comment.