Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-04-25 16:22:28 +0300
committerMorris Jobke <hey@morrisjobke.de>2018-04-26 11:45:52 +0300
commit38a90130ce425d531a804dff591df4a883de3154 (patch)
treed579e7442832672ab2987f9c9ecf62e79ca09a8d /lib/autoloader.php
parent12c5db90322f61d4d48e1bb534bb94382d17e317 (diff)
move log constants to ILogger
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r--lib/autoloader.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php
index eca326ffc14..4377a84f307 100644
--- a/lib/autoloader.php
+++ b/lib/autoloader.php
@@ -34,6 +34,7 @@ declare(strict_types=1);
namespace OC;
use \OCP\AutoloadNotAllowedException;
+use OCP\ILogger;
class Autoloader {
/** @var bool */
@@ -100,7 +101,7 @@ class Autoloader {
* Remove "apps/" from inclusion path for smooth migration to multi app dir
*/
if (strpos(\OC::$CLASSPATH[$class], 'apps/') === 0) {
- \OCP\Util::writeLog('core', 'include path for class "' . $class . '" starts with "apps/"', \OCP\Util::DEBUG);
+ \OCP\Util::writeLog('core', 'include path for class "' . $class . '" starts with "apps/"', ILogger::DEBUG);
$paths[] = str_replace('apps/', '', \OC::$CLASSPATH[$class]);
}
} elseif (strpos($class, 'OC_') === 0) {