summaryrefslogtreecommitdiffstats
path: root/settings/Controller
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-01-07 12:32:07 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-01-07 12:32:07 +0100
commit8e914c01c52250fd99e16d9216b83944629cf206 (patch)
tree6a4a5efeeb223777f9cdbbe5e5675e3b948a9d57 /settings/Controller
parentb820803cf1def6a6bfe398d1564dd0d9a3a3a9e0 (diff)
downloadnextcloud-server-8e914c01c52250fd99e16d9216b83944629cf206.tar.gz
nextcloud-server-8e914c01c52250fd99e16d9216b83944629cf206.zip
Use the real logger in the settings
Fixes #13285 The wrapper logger should not be used here. But we need the real logger. Since this in internal we can just pass that on directly. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings/Controller')
-rw-r--r--settings/Controller/LogSettingsController.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/settings/Controller/LogSettingsController.php b/settings/Controller/LogSettingsController.php
index ef195edce63..a8392c52b50 100644
--- a/settings/Controller/LogSettingsController.php
+++ b/settings/Controller/LogSettingsController.php
@@ -29,7 +29,6 @@ namespace OC\Settings\Controller;
use OC\Log;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\StreamResponse;
-use OCP\ILogger;
use OCP\IRequest;
/**
@@ -39,10 +38,10 @@ use OCP\IRequest;
*/
class LogSettingsController extends Controller {
- /** @var ILogger */
+ /** @var Log */
private $log;
- public function __construct(string $appName, IRequest $request, ILogger $logger) {
+ public function __construct(string $appName, IRequest $request, Log $logger) {
parent::__construct($appName, $request);
$this->log = $logger;
}