@@ -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 |
@@ -1608,9 +1608,4 @@ |
||
1608 | 1608 | yield $this->query($class); |
1609 | 1609 | |
1610 | 1610 | } catch (QueryException $exc) { |
1611 | - throw new \Exception("Could not load service $class"); |
|
1612 | - } |
|
1613 | - } |
|
1614 | - } |
|
1615 | - } |
|
1616 | -} |
|
1611 | + throw new \Exception("Could not load service $class |
|
1617 | 1612 | \ No newline at end of file |
@@ -1608,9 +1608,4 @@ |
||
1608 | 1608 | yield $this->query($class); |
1609 | 1609 | |
1610 | 1610 | } catch (QueryException $exc) { |
1611 | - throw new \Exception("Could not load service $class"); |
|
1612 | - } |
|
1613 | - } |
|
1614 | - } |
|
1615 | - } |
|
1616 | -} |
|
1611 | + throw new \Exception("Could not load service $class |
|
1617 | 1612 | \ No newline at end of file |
@@ -2870,7 +2870,7 @@ |
||
2870 | 2870 | } |
2871 | 2871 | |
2872 | 2872 | /** |
2873 | - * @param $user |
|
2873 | + * @param string|boolean $user |
|
2874 | 2874 | * @return Group[] |
2875 | 2875 | */ |
2876 | 2876 | private static function getGroupsForUser($user) { |