diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-03-22 12:31:44 +0100 |
---|---|---|
committer | Côme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com> | 2022-04-01 12:18:02 +0000 |
commit | 77bdad84c21f2d836b778a2741eb8e8512ee19eb (patch) | |
tree | b381c26b71b0521da62986d3d026df45eb4c8cb7 /apps/user_ldap/lib/UserPluginManager.php | |
parent | d3d53494d499c036f230f11b24f4b4acfbcc34db (diff) | |
download | nextcloud-server-77bdad84c21f2d836b778a2741eb8e8512ee19eb.tar.gz nextcloud-server-77bdad84c21f2d836b778a2741eb8e8512ee19eb.zip |
Add ldap:reset-group command to unmap groups from LDAP
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap/lib/UserPluginManager.php')
-rw-r--r-- | apps/user_ldap/lib/UserPluginManager.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/user_ldap/lib/UserPluginManager.php b/apps/user_ldap/lib/UserPluginManager.php index 035b7952dce..748a210cf60 100644 --- a/apps/user_ldap/lib/UserPluginManager.php +++ b/apps/user_ldap/lib/UserPluginManager.php @@ -28,9 +28,9 @@ namespace OCA\User_LDAP; use OC\User\Backend; class UserPluginManager { - private $respondToActions = 0; + private int $respondToActions = 0; - private $which = [ + private array $which = [ Backend::CREATE_USER => null, Backend::SET_PASSWORD => null, Backend::GET_HOME => null, @@ -41,8 +41,7 @@ class UserPluginManager { 'deleteUser' => null ]; - /** @var bool */ - private $suppressDeletion = false; + private bool $suppressDeletion = false; /** * @return int All implemented actions, except for 'deleteUser' |