nextcloud/settings/Controller
Daniel Calviño Sánchez 044d5a8d01 Inject public IGroupManager instead of private GroupManager
The public "IGroupManager" service returned by the dependency injection
system is automatically initialized with an "OC\Group\Database" backend.
However, no backend is automatically set in private "GroupManager"
instances. Therefore, a private "GroupManager" instance does not work as
expected when initialized through the dependency injection system.

Due to that this commit reverts a previous change in which the public
"IGroupManager" was replaced by a private "GroupManager" instance. That
change was needed when strict types were set, as "getSubAdmin()" is not
part of "IGroupManager" API, so the type had to be changed to
"GroupManager". Until a better solution is found strict types are
disabled again to be able to inject "IGroupManager" and also use
"getSubAdmin()".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-13 09:52:27 +01:00
..
AdminSettingsController.php Set the correct active navigation entry 2018-03-05 17:06:28 +01:00
AppSettingsController.php Link to NC 14 dev manual 2018-02-08 21:26:04 +01:00
AuthSettingsController.php Properly catch InvalidTokenException for better error response 2018-01-24 13:56:12 +01:00
CertificateController.php Update license headers 2017-11-06 16:56:19 +01:00
ChangePasswordController.php Inject public IGroupManager instead of private GroupManager 2018-03-13 09:52:27 +01:00
CheckSetupController.php Merge pull request #8365 from nextcloud/fix-phpdoc 2018-02-15 10:35:24 +01:00
CommonSettingsTrait.php Set the correct active navigation entry 2018-03-05 17:06:28 +01:00
GroupsController.php Require password confirmation for user management 2016-11-18 12:10:50 +01:00
LogSettingsController.php Remove unused import statements 2018-02-14 16:55:43 +01:00
MailSettingsController.php Remove fromMailAddress from MailSettingsController 2018-02-13 21:40:38 +01:00
PersonalSettingsController.php Set the correct active navigation entry 2018-03-05 17:06:28 +01:00
SecuritySettingsController.php Update license headers 2017-11-06 16:56:19 +01:00
UsersController.php Inject public IGroupManager instead of private GroupManager 2018-03-13 09:52:27 +01:00