summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-04-25 15:22:28 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-04-26 10:45:52 +0200
commit38a90130ce425d531a804dff591df4a883de3154 (patch)
treed579e7442832672ab2987f9c9ecf62e79ca09a8d /core/Controller
parent12c5db90322f61d4d48e1bb534bb94382d17e317 (diff)
downloadnextcloud-server-38a90130ce425d531a804dff591df4a883de3154.tar.gz
nextcloud-server-38a90130ce425d531a804dff591df4a883de3154.zip
move log constants to ILogger
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/SetupController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Controller/SetupController.php b/core/Controller/SetupController.php
index f79e9efe0c2..17d7b51d3fe 100644
--- a/core/Controller/SetupController.php
+++ b/core/Controller/SetupController.php
@@ -30,6 +30,7 @@
namespace OC\Core\Controller;
use OC\Setup;
+use OCP\ILogger;
class SetupController {
/** @var Setup */
@@ -107,7 +108,7 @@ class SetupController {
public function loadAutoConfig($post) {
if( file_exists($this->autoConfigFile)) {
- \OCP\Util::writeLog('core', 'Autoconfig file found, setting up ownCloud…', \OCP\Util::INFO);
+ \OCP\Util::writeLog('core', 'Autoconfig file found, setting up ownCloud…', ILogger::INFO);
$AUTOCONFIG = array();
include $this->autoConfigFile;
$post = array_merge ($post, $AUTOCONFIG);