mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Add user repository as a service
This commit is contained in:
@@ -60,7 +60,7 @@ class CreateCollection extends Command
|
||||
}
|
||||
|
||||
$app = $this->container;
|
||||
$this->container['manipulator.acl']->resetAdminRights($this->container['manipulator.user']->getRepository()->findAdmins());
|
||||
$this->container['manipulator.acl']->resetAdminRights($this->container['repo.users']->findAdmins());
|
||||
|
||||
$this->container['dispatcher']->dispatch(PhraseaEvents::COLLECTION_CREATE, new CollectionCreateEvent($new_collection));
|
||||
}
|
||||
|
Reference in New Issue
Block a user