diff --git a/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php index 32fc560..801ad36 100644 --- a/core/lib/Drupal/Core/DrupalKernel.php +++ b/core/lib/Drupal/Core/DrupalKernel.php @@ -253,7 +253,7 @@ public static function createFromRequest(Request $request, $class_loader, $envir && Settings::get('class_loader_auto_detect', TRUE) && Settings::get('hash_salt', FALSE) && function_exists('apc_fetch')) { - $prefix = $this->getApcKey('class_loader'); + $prefix = static::getApcKey('class_loader'); $apc_loader = new \Symfony\Component\ClassLoader\ApcClassLoader($prefix, $class_loader); $class_loader->unregister(); $apc_loader->register(); @@ -431,7 +431,7 @@ public function boot() { } } FileCacheFactory::setConfiguration($configuration); - FileCacheFactory::setPrefix($this->getApcKey('file_cache')); + FileCacheFactory::setPrefix(static::getApcKey('file_cache')); // Initialize the container. $this->initializeContainer();