--- move_all_the_logic_out-2389811-81.patch 2015-04-29 07:31:32.000000000 +0200 +++ move_all_the_logic_out-2389811-89.patch 2015-04-30 08:51:51.714782364 +0200 @@ -50,9 +50,8 @@ - // loader. - if ($class_loader_class == get_class($class_loader) - && Settings::get('class_loader_auto_detect', TRUE) -- && Settings::get('hash_salt', FALSE) - && function_exists('apc_fetch')) { -- $prefix = 'drupal.' . hash('sha256', 'drupal.' . Settings::getHashSalt()); +- $prefix = Settings::getApcuPrefix('class_loader', $core_root); - $apc_loader = new \Symfony\Component\ClassLoader\ApcClassLoader($prefix, $class_loader); - $class_loader->unregister(); - $apc_loader->register(); @@ -167,9 +166,8 @@ + // loader. + if ($class_loader_class == get_class($this->classLoader) + && Settings::get('class_loader_auto_detect', TRUE) -+ && Settings::get('hash_salt', FALSE) + && function_exists('apc_fetch')) { -+ $prefix = 'drupal.' . hash('sha256', 'drupal.' . Settings::getHashSalt()); ++ $prefix = Settings::getApcuPrefix('class_loader', $this->root); + $apc_loader = new \Symfony\Component\ClassLoader\ApcClassLoader($prefix, $this->classLoader); + $this->classLoader->unregister(); + $apc_loader->register();