Skip to content

Commit f66dba1

Browse files
author
Pasquale Tripodi
committed
fix: camelCase
1 parent e67749d commit f66dba1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/Hooks.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ public static function register(): void {
3333
}
3434

3535
public static function userDelete($params) {
36-
$customGroupsDb = \OC::$server->query(CustomGroupsDatabaseHandler::class);
37-
foreach ($customGroupsDb->getUserMemberships($params['uid'], null) as $customgroup) {
38-
$customGroupsDb->removeFromGroup($params['uid'], $customgroup['group_id']);
36+
$customGroupsDbHandler = \OC::$server->query(CustomGroupsDatabaseHandler::class);
37+
foreach ($customGroupsDbHandler->getUserMemberships($params['uid'], null) as $customGroup) {
38+
$customGroupsDbHandler->removeFromGroup($params['uid'], $customGroup['group_id']);
3939
}
4040
}
4141
}

0 commit comments

Comments
 (0)