Commit 2e85d5a8 authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

increase scrutinizer happyiness by removing minor/informational issues

parent e9fa74bf
......@@ -52,7 +52,7 @@ class Manager extends PublicEmitter {
unset($cachedUsers[$i]);
}
});
$this->listen('\OC\User', 'postLogin', function ($user, $pw) {
$this->listen('\OC\User', 'postLogin', function ($user) {
$user->updateLastLoginTimestamp();
});
$this->listen('\OC\User', 'postRememberedLogin', function ($user) {
......
......@@ -196,10 +196,8 @@ class Session extends \PHPUnit_Framework_TestCase {
switch($key) {
case 'user_id':
return true;
break;
default:
return false;
break;
}
},
'foo'));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment