From 335c4652022458f53452a79fe376bac28240eb42 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Thu, 15 Nov 2018 08:33:09 +0000 Subject: [PATCH] Issue #3013399 by govind.maloo, alexpott: Remove obsolete code from system_cron() --- core/modules/system/system.module | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/modules/system/system.module b/core/modules/system/system.module index ac27414f856..4e4c3ec767f 100644 --- a/core/modules/system/system.module +++ b/core/modules/system/system.module @@ -17,7 +17,6 @@ use Drupal\Core\Extension\Extension; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\KeyValueStore\KeyValueDatabaseExpirableFactory; use Drupal\Core\PageCache\RequestPolicyInterface; -use Drupal\Core\PhpStorage\PhpStorageFactory; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Routing\StackedRouteMatchInterface; use Drupal\Core\Language\LanguageInterface; @@ -1254,10 +1253,6 @@ function system_cron() { $queue->garbageCollection(); } } - - // Clean up PHP storage. - PhpStorageFactory::get('container')->garbageCollection(); - PhpStorageFactory::get('service_container')->garbageCollection(); } /**