Update to Drupal 8.0.2. For more information, see https://www.drupal.org/drupal-8.0.2-release-notes
This commit is contained in:
parent
1a0e9d9fac
commit
a6b049dd05
538 changed files with 5247 additions and 1594 deletions
core/lib/Drupal/Core
|
@ -428,7 +428,7 @@ class DrupalKernel implements DrupalKernelInterface, TerminableInterface {
|
|||
];
|
||||
// @todo Use extension_loaded('apcu') for non-testbot
|
||||
// https://www.drupal.org/node/2447753.
|
||||
if (function_exists('apc_fetch')) {
|
||||
if (function_exists('apcu_fetch')) {
|
||||
$configuration['default']['cache_backend_class'] = '\Drupal\Component\FileCache\ApcuFileCacheBackend';
|
||||
}
|
||||
}
|
||||
|
@ -968,11 +968,11 @@ class DrupalKernel implements DrupalKernelInterface, TerminableInterface {
|
|||
}
|
||||
}
|
||||
|
||||
// If the class loader is still the same, possibly upgrade to the APC class
|
||||
// If the class loader is still the same, possibly upgrade to the APCu class
|
||||
// loader.
|
||||
if ($class_loader_class == get_class($this->classLoader)
|
||||
&& Settings::get('class_loader_auto_detect', TRUE)
|
||||
&& function_exists('apc_fetch')) {
|
||||
&& function_exists('apcu_fetch')) {
|
||||
$prefix = Settings::getApcuPrefix('class_loader', $this->root);
|
||||
$apc_loader = new \Symfony\Component\ClassLoader\ApcClassLoader($prefix, $this->classLoader);
|
||||
$this->classLoader->unregister();
|
||||
|
@ -1307,7 +1307,7 @@ class DrupalKernel implements DrupalKernelInterface, TerminableInterface {
|
|||
*
|
||||
* @return array
|
||||
* Array where each key is a module name, and each value is a path to the
|
||||
* respective *.module or *.profile file.
|
||||
* respective *.info.yml file.
|
||||
*/
|
||||
protected function getModuleFileNames() {
|
||||
$filenames = array();
|
||||
|
@ -1324,7 +1324,7 @@ class DrupalKernel implements DrupalKernelInterface, TerminableInterface {
|
|||
*
|
||||
* @param string[] $module_file_names
|
||||
* Array where each key is a module name, and each value is a path to the
|
||||
* respective *.module or *.profile file.
|
||||
* respective *.info.yml file.
|
||||
*
|
||||
* @return string[]
|
||||
* Array where each key is a module namespace like 'Drupal\system', and each
|
||||
|
|
Reference in a new issue