diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-09-05 11:22:40 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-09-05 16:56:48 +0200 |
commit | 2c8b415c55ead6a54989e74d9ff37e0418e6adb2 (patch) | |
tree | a6c898eeb3645d72f6506bc1b78d1d20c9f3554a /apps/user_ldap/lib | |
parent | a5fa1e7715b31a804af56637a82e5717910c8e3f (diff) | |
download | nextcloud-server-2c8b415c55ead6a54989e74d9ff37e0418e6adb2.tar.gz nextcloud-server-2c8b415c55ead6a54989e74d9ff37e0418e6adb2.zip |
Move new methods to a new interface in OCP
This avoids breaking compatibility for group backends not based on
ABackend abstract class.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap/lib')
-rw-r--r-- | apps/user_ldap/lib/Group_Proxy.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Group_Proxy.php b/apps/user_ldap/lib/Group_Proxy.php index 43997a09892..114902ff9ba 100644 --- a/apps/user_ldap/lib/Group_Proxy.php +++ b/apps/user_ldap/lib/Group_Proxy.php @@ -29,13 +29,14 @@ namespace OCA\User_LDAP; use OC\ServerNotAvailableException; +use OCP\Group\Backend\IBatchMethodsBackend; use OCP\Group\Backend\IDeleteGroupBackend; use OCP\Group\Backend\IGetDisplayNameBackend; use OCP\Group\Backend\IGroupDetailsBackend; use OCP\Group\Backend\INamedBackend; use OCP\GroupInterface; -class Group_Proxy extends Proxy implements \OCP\GroupInterface, IGroupLDAP, IGetDisplayNameBackend, INamedBackend, IDeleteGroupBackend { +class Group_Proxy extends Proxy implements \OCP\GroupInterface, IGroupLDAP, IGetDisplayNameBackend, INamedBackend, IDeleteGroupBackend, IBatchMethodsBackend { private $backends = []; private ?Group_LDAP $refBackend = null; private Helper $helper; |