increase scrutinizer happyiness by removing minor/informational issues
This commit is contained in:
parent
e9fa74bfb7
commit
2e85d5a852
2 changed files with 1 additions and 3 deletions
|
@ -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'));
|
||||
|
|
Loading…
Reference in a new issue