Add getBackendName() and inherit from INamedBackend

This commit is contained in:
Claus-Justus Heine
2024-01-29 08:58:38 +01:00
parent a484e1a327
commit 9d0ef4e4fe

View File

@@ -32,6 +32,7 @@ use OCP\Group\Backend\ICountUsersBackend;
use OCP\Group\Backend\IGroupDetailsBackend; use OCP\Group\Backend\IGroupDetailsBackend;
use OCP\Group\Backend\IIsAdminBackend; use OCP\Group\Backend\IIsAdminBackend;
use OCP\Group\Backend\ISearchableGroupBackend; use OCP\Group\Backend\ISearchableGroupBackend;
use OCP\Group\Backend\INamedBackedn;
use OCP\ILogger; use OCP\ILogger;
use OCP\IUserManager; use OCP\IUserManager;
@@ -91,7 +92,15 @@ final class GroupBackend extends ABackend implements
$this->groupRepository = $groupRepository; $this->groupRepository = $groupRepository;
} }
/** /**
* @inheritdoc
*/
public function getBackendName(): string
{
return "User SQL";
}
/**
* @inheritdoc * @inheritdoc
*/ */
public function getGroups($search = "", $limit = null, $offset = null) public function getGroups($search = "", $limit = null, $offset = null)