increase scrutinizer happyiness by removing minor/informational issues

This commit is contained in:
Arthur Schiwon 2014-05-23 11:20:46 +02:00
parent e9fa74bfb7
commit 2e85d5a852
2 changed files with 1 additions and 3 deletions

View file

@ -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) {

View file

@ -196,10 +196,8 @@ class Session extends \PHPUnit_Framework_TestCase {
switch($key) {
case 'user_id':
return true;
break;
default:
return false;
break;
}
},
'foo'));