Skip to content
Snippets Groups Projects
Commit e8bde5a9 authored by Adam G-H's avatar Adam G-H
Browse files

Issue #3261637 by phenaproxima: In Drupal 9.2, the shim module installer raises a deprecation error

parent 60cb95ff
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,6 @@ class ModuleInstaller extends CoreModuleInstaller {
}
$this->connection = $connection;
if (!$update_registry) {
@trigger_error('Calling ' . __METHOD__ . '() without the $update_registry argument is deprecated in drupal:9.3.0 and $update_registry argument will be required in drupal:10.0.0. See https://www.drupal.org/node/2124069', E_USER_DEPRECATED);
$update_registry = \Drupal::service('update.update_hook_registry');
}
$this->updateRegistry = $update_registry;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment