Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / includes / module.inc
index e3f446c66089708f3ea90687868157426784d918..63b3abc5ef14a4eae1109f5219900f2fcba68d89 100644 (file)
@@ -57,7 +57,7 @@ function system_list($type) {
  */
 function system_list_reset() {
   drupal_static_reset('system_list');
-  drupal_static_reset('system_rebuild_module_data');
+  \Drupal::service('extension.list.module')->reset();
   \Drupal::cache('bootstrap')->delete('system_list');
 }