summaryrefslogtreecommitdiffstats
path: root/lib/private/SubAdmin.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/SubAdmin.php')
-rw-r--r--lib/private/SubAdmin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/SubAdmin.php b/lib/private/SubAdmin.php
index 05d23bee587..8a8cbdb9813 100644
--- a/lib/private/SubAdmin.php
+++ b/lib/private/SubAdmin.php
@@ -60,10 +60,10 @@ class SubAdmin extends PublicEmitter implements ISubAdmin {
$this->groupManager = $groupManager;
$this->dbConn = $dbConn;
- $this->userManager->listen('\OC\User', 'postDelete', function($user) {
+ $this->userManager->listen('\OC\User', 'postDelete', function ($user) {
$this->post_deleteUser($user);
});
- $this->groupManager->listen('\OC\Group', 'postDelete', function($group) {
+ $this->groupManager->listen('\OC\Group', 'postDelete', function ($group) {
$this->post_deleteGroup($group);
});
}
@@ -135,7 +135,7 @@ class SubAdmin extends PublicEmitter implements ISubAdmin {
* @return array ['displayName' => displayname]
*/
public function getSubAdminsGroupsName(IUser $user): array {
- return array_map(function($group) {
+ return array_map(function ($group) {
return ['displayName' => $group->getDisplayName()];
}, $this->getSubAdminsGroups($user));
}