diff options
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r-- | lib/autoloader.php | 3 |
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) { |