Skip to content

Commit

Permalink
Merge pull request #5951 from nextcloud/use-public-method
Browse files Browse the repository at this point in the history
Use public API instead of private
  • Loading branch information
MorrisJobke authored Aug 2, 2017
2 parents 2800e01 + 21d1d05 commit 45d080d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions settings/Controller/ChangePasswordController.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,29 +22,29 @@
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 {

/** @var string */
private $userId;

/** @var UserManager */
/** @var IUserManager */
private $userManager;

/** @var IL10N */
private $l;

/** @var GroupManager */
/** @var IGroupManager */
private $groupManager;

/** @var Session */
Expand All @@ -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);
Expand Down

0 comments on commit 45d080d

Please sign in to comment.