diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-08-02 09:27:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 09:27:34 +0200 |
commit | 45d080d70e2b34161103aee21478c3745e9b5700 (patch) | |
tree | a48167814264ce892552e274c834e22e86977781 /settings | |
parent | 2800e017dea5eb81590696101df1729a37c753ca (diff) | |
parent | 21d1d05667349364c162476dee46524bad900a95 (diff) | |
download | nextcloud-server-45d080d70e2b34161103aee21478c3745e9b5700.tar.gz nextcloud-server-45d080d70e2b34161103aee21478c3745e9b5700.zip |
Merge pull request #5951 from nextcloud/use-public-method
Use public API instead of private
Diffstat (limited to 'settings')
-rw-r--r-- | settings/Controller/ChangePasswordController.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/settings/Controller/ChangePasswordController.php b/settings/Controller/ChangePasswordController.php index e0129af50f1..a758180e858 100644 --- a/settings/Controller/ChangePasswordController.php +++ b/settings/Controller/ChangePasswordController.php @@ -22,15 +22,15 @@ namespace OC\Settings\Controller; use OC\HintException; -use OC\User\Manager as UserManager; -use OC\Group\Manager as GroupManager; use OC\User\Session; use OCP\App\IAppManager; use OCP\AppFramework\Controller; use OCP\AppFramework\Http\JSONResponse; +use OCP\IGroupManager; use OCP\IL10N; use OCP\IRequest; use OCP\IUser; +use OCP\IUserManager; use OCP\IUserSession; class ChangePasswordController extends Controller { @@ -38,13 +38,13 @@ class ChangePasswordController extends Controller { /** @var string */ private $userId; - /** @var UserManager */ + /** @var IUserManager */ private $userManager; /** @var IL10N */ private $l; - /** @var GroupManager */ + /** @var IGroupManager */ private $groupManager; /** @var Session */ @@ -59,18 +59,18 @@ class ChangePasswordController extends Controller { * @param string $appName * @param IRequest $request * @param $userId - * @param UserManager $userManager + * @param IUserManager $userManager * @param IUserSession $userSession - * @param GroupManager $groupManager + * @param IGroupManager $groupManager * @param IAppManager $appManager * @param IL10N $l */ public function __construct($appName, IRequest $request, $userId, - UserManager $userManager, + IUserManager $userManager, IUserSession $userSession, - GroupManager $groupManager, + IGroupManager $groupManager, IAppManager $appManager, IL10N $l) { parent::__construct($appName, $request); |