This commit is contained in:
Romain Neutron
2013-12-03 21:01:43 +01:00
parent b024492c07
commit 7904a33e07
21 changed files with 11 additions and 51 deletions

View File

@@ -238,7 +238,7 @@ class UsrList
public function has(\User_Adapter $user, Application $app)
{
return $this->entries->exists(
function($key, $entry) use ($user, $app) {
function ($key, $entry) use ($user, $app) {
return $entry->getUser($app)->get_id() === $user->get_id();
}
);