aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/LDAPUserPluginDummy.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/tests/LDAPUserPluginDummy.php')
-rw-r--r--apps/user_ldap/tests/LDAPUserPluginDummy.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/user_ldap/tests/LDAPUserPluginDummy.php b/apps/user_ldap/tests/LDAPUserPluginDummy.php
index f6edf3df63b..8d4870406ae 100644
--- a/apps/user_ldap/tests/LDAPUserPluginDummy.php
+++ b/apps/user_ldap/tests/LDAPUserPluginDummy.php
@@ -1,4 +1,6 @@
<?php
+
+declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
@@ -39,4 +41,12 @@ class LDAPUserPluginDummy implements ILDAPUserPlugin {
public function countUsers() {
return null;
}
+
+ public function canDeleteUser() {
+ return true;
+ }
+
+ public function deleteUser($uid) {
+ return null;
+ }
}