Commit a4870dd1 authored by alexpott's avatar alexpott

Issue #2081257 by olli: Fixed hook_cache_flush() should not be invoked by system_cron().

parent 5f9ca4d7
......@@ -2965,7 +2965,6 @@ function system_cron() {
// Cleanup the flood.
Drupal::service('flood')->garbageCollection();
Drupal::moduleHandler()->invokeAll('cache_flush');
foreach (Cache::getBins() as $cache_backend) {
$cache_backend->garbageCollection();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment