Skip to content

Commit 5218a0e

Browse files
committed
Group Backend read only actions.
1 parent 20ffbfc commit 5218a0e

1 file changed

Lines changed: 1 addition & 56 deletions

File tree

lib/Backend/GroupBackend.php

Lines changed: 1 addition & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,9 @@
2727
use OCA\UserSQL\Properties;
2828
use OCA\UserSQL\Repository\GroupRepository;
2929
use OCP\Group\Backend\ABackend;
30-
use OCP\Group\Backend\IAddToGroupBackend;
31-
use OCP\Group\Backend\ICountDisabledInGroup;
3230
use OCP\Group\Backend\ICountUsersBackend;
33-
use OCP\Group\Backend\ICreateGroupBackend;
34-
use OCP\Group\Backend\IDeleteGroupBackend;
3531
use OCP\Group\Backend\IGroupDetailsBackend;
3632
use OCP\Group\Backend\IIsAdminBackend;
37-
use OCP\Group\Backend\IRemoveFromGroupBackend;
3833
use OCP\ILogger;
3934

4035
/**
@@ -43,14 +38,9 @@
4338
* @author Marcin Łojewski <dev@mlojewski.me>
4439
*/
4540
final class GroupBackend extends ABackend implements
46-
IAddToGroupBackend,
47-
ICountDisabledInGroup,
4841
ICountUsersBackend,
49-
ICreateGroupBackend,
50-
IDeleteGroupBackend,
5142
IGroupDetailsBackend,
52-
IIsAdminBackend,
53-
IRemoveFromGroupBackend
43+
IIsAdminBackend
5444
{
5545
/**
5646
* @var string The application name.
@@ -450,49 +440,4 @@ public function isConfigured()
450440
&& !empty($this->properties[DB::USER_GROUP_GID_COLUMN])
451441
&& !empty($this->properties[DB::USER_GROUP_UID_COLUMN]);
452442
}
453-
454-
/**
455-
* @inheritdoc
456-
*/
457-
public function addToGroup(string $uid, string $gid): bool
458-
{
459-
// TODO: Implement addToGroup() method.
460-
return false;
461-
}
462-
463-
/**
464-
* @inheritdoc
465-
*/
466-
public function countDisabledInGroup(string $gid): int
467-
{
468-
// TODO: Implement countDisabledInGroup() method.
469-
return 0;
470-
}
471-
472-
/**
473-
* @inheritdoc
474-
*/
475-
public function createGroup(string $gid): bool
476-
{
477-
// TODO: Implement createGroup() method.
478-
return false;
479-
}
480-
481-
/**
482-
* @inheritdoc
483-
*/
484-
public function deleteGroup(string $gid): bool
485-
{
486-
// TODO: Implement deleteGroup() method.
487-
return false;
488-
}
489-
490-
/**
491-
* @inheritdoc
492-
*/
493-
public function removeFromGroup(string $uid, string $gid)
494-
{
495-
// TODO: Implement removeFromGroup() method.
496-
return false;
497-
}
498443
}

0 commit comments

Comments
 (0)