Issue #3013399 by govind.maloo, alexpott: Remove obsolete code from system_cron()

8.7.x
Alex Pott 2018-11-15 08:33:09 +00:00
parent f762c6a708
commit 335c465202
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 0 additions and 5 deletions

View File

@ -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();
}
/**