@@ -40,7 +40,6 @@ |
||
40 | 40 | use OCP\GroupInterface; |
41 | 41 | use OCP\IGroupManager; |
42 | 42 | use OC\Group\GroupMapper; |
43 | -use OC\Group\Database; |
|
44 | 43 | |
45 | 44 | /** |
46 | 45 | * Class Manager |
@@ -491,7 +491,7 @@ discard block |
||
491 | 491 | * are users in the group (identified by backend group id |
492 | 492 | * if $isBackendGroupId is true, or gid if $isBackendGroupId is false) |
493 | 493 | * |
494 | - * @param string|int $groupId |
|
494 | + * @param string $groupId |
|
495 | 495 | * @param bool $isBackendGroupId |
496 | 496 | * @param string $pattern |
497 | 497 | * @return int |
@@ -569,7 +569,7 @@ discard block |
||
569 | 569 | |
570 | 570 | /** |
571 | 571 | * @param IQueryBuilder $qb |
572 | - * @return int |
|
572 | + * @return boolean |
|
573 | 573 | */ |
574 | 574 | private function getAffectedQuery(IQueryBuilder $qb) { |
575 | 575 | // If affected is equal or more then 1, it means operation was successful |
@@ -23,7 +23,6 @@ |
||
23 | 23 | |
24 | 24 | use OC\Group\BackendGroup; |
25 | 25 | use OC\User\Account; |
26 | -use OCP\AppFramework\Db\Entity; |
|
27 | 26 | use OCP\IConfig; |
28 | 27 | use OCP\IDBConnection; |
29 | 28 | use Doctrine\DBAL\Exception\UniqueConstraintViolationException; |