diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-05-07 13:51:23 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-05-07 13:51:23 +0200 |
commit | 2193f6a1301edcb62de6f0cf338acccdbf5ec2f1 (patch) | |
tree | 61ccde7d0088c2a5c7274ccdaa2e2fcd91104fed /plugins/autologon/autologon.php | |
parent | ef1d6525c2333794d954ccce33de1bcd533f85c8 (diff) |
Avoid unused local variables
Diffstat (limited to 'plugins/autologon/autologon.php')
-rw-r--r-- | plugins/autologon/autologon.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/autologon/autologon.php b/plugins/autologon/autologon.php index 63ffb943e..9c7d5b6fc 100644 --- a/plugins/autologon/autologon.php +++ b/plugins/autologon/autologon.php @@ -19,8 +19,6 @@ class autologon extends rcube_plugin function startup($args) { - $rcmail = rcmail::get_instance(); - // change action to login if (empty($_SESSION['user_id']) && !empty($_GET['_autologin']) && $this->is_localhost()) $args['action'] = 'login'; @@ -37,7 +35,7 @@ class autologon extends rcube_plugin $args['cookiecheck'] = false; $args['valid'] = true; } - + return $args; } |