diff options
Diffstat (limited to 'core/Controller/UserController.php')
-rw-r--r-- | core/Controller/UserController.php | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/core/Controller/UserController.php b/core/Controller/UserController.php index 0cede94eb6e..fc282e36d9b 100644 --- a/core/Controller/UserController.php +++ b/core/Controller/UserController.php @@ -26,26 +26,20 @@ namespace OC\Core\Controller; use \OCP\AppFramework\Controller; use \OCP\AppFramework\Http\JSONResponse; use \OCP\IRequest; +use \OCP\IUserManager; class UserController extends Controller { /** - * @var \OCP\IUserManager + * @var IUserManager */ protected $userManager; - /** - * @var \OC_Defaults - */ - protected $defaults; - public function __construct($appName, IRequest $request, - $userManager, - $defaults + IUserManager $userManager ) { parent::__construct($appName, $request); $this->userManager = $userManager; - $this->defaults = $defaults; } /** |