Update to Drupal 8.2.0. For more information, see https://www.drupal.org/project/drupal/releases/8.2.0
This commit is contained in:
parent
2f563ab520
commit
f1c8716f57
1732 changed files with 52334 additions and 11780 deletions
|
@ -182,7 +182,7 @@ class UpdateKernel extends DrupalKernel {
|
|||
$db_update_access = $this->getContainer()->get('access_check.db_update');
|
||||
|
||||
if (!Settings::get('update_free_access', FALSE) && !$db_update_access->access($account)->isAllowed()) {
|
||||
throw new AccessDeniedHttpException('In order to run update.php you need to either be logged in as admin or have set $update_free_access in your settings.php.');
|
||||
throw new AccessDeniedHttpException('In order to run update.php you need to either be logged in as admin or have set $settings[\'update_free_access\'] in your settings.php.');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ class UpdateRegistry {
|
|||
* A list of enabled modules.
|
||||
* @param \Drupal\Core\KeyValueStore\KeyValueStoreInterface $key_value
|
||||
* The key value store.
|
||||
* @param bool|NULL $include_tests
|
||||
* @param bool|null $include_tests
|
||||
* (optional) A flag whether to include tests in the scanning of modules.
|
||||
*/
|
||||
public function __construct($root, $site_path, array $enabled_modules, KeyValueStoreInterface $key_value, $include_tests = NULL) {
|
||||
|
|
Reference in a new issue