summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-07-15 08:46:31 +0200
committerJoas Schilling <coding@schilljs.com>2016-07-15 09:17:30 +0200
commit2c988ecbf498bebd8ac904e0c457521350cf469f (patch)
tree9a5be8451b1c763c5009b89f52993372cacaf735 /core/Controller
parente8d6621a2485196c66d0743df3072da3b9e9c36b (diff)
downloadnextcloud-server-2c988ecbf498bebd8ac904e0c457521350cf469f.tar.gz
nextcloud-server-2c988ecbf498bebd8ac904e0c457521350cf469f.zip
Use the themed Defaults everywhere
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/LostController.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/core/Controller/LostController.php b/core/Controller/LostController.php
index b509d4bf632..774404af0a5 100644
--- a/core/Controller/LostController.php
+++ b/core/Controller/LostController.php
@@ -38,7 +38,6 @@ use \OCP\IConfig;
use OCP\IUserManager;
use OCP\Mail\IMailer;
use OCP\Security\ISecureRandom;
-use \OC_Defaults;
use OCP\Security\StringUtils;
/**
@@ -54,8 +53,7 @@ class LostController extends Controller {
protected $urlGenerator;
/** @var IUserManager */
protected $userManager;
- // FIXME: Inject a non-static factory of OC_Defaults for better unit-testing
- /** @var OC_Defaults */
+ /** @var \OC_Defaults */
protected $defaults;
/** @var IL10N */
protected $l10n;
@@ -77,7 +75,7 @@ class LostController extends Controller {
* @param IRequest $request
* @param IURLGenerator $urlGenerator
* @param IUserManager $userManager
- * @param OC_Defaults $defaults
+ * @param \OC_Defaults $defaults
* @param IL10N $l10n
* @param IConfig $config
* @param ISecureRandom $secureRandom
@@ -90,7 +88,7 @@ class LostController extends Controller {
IRequest $request,
IURLGenerator $urlGenerator,
IUserManager $userManager,
- OC_Defaults $defaults,
+ \OC_Defaults $defaults,
IL10N $l10n,
IConfig $config,
ISecureRandom $secureRandom,