public function InstallBackend::garbageCollection

Overrides Drupal\Core\Cache\DatabaseBackend::garbageCollection().

Overrides DatabaseBackend::garbageCollection

File

drupal/core/lib/Drupal/Core/Cache/InstallBackend.php, line 166
Definition of Drupal\Core\Cache\InstallBackend.

Class

InstallBackend
Defines a stub cache implementation to be used during installation.

Namespace

Drupal\Core\Cache

Code

public function garbageCollection() {
  try {
    if (class_exists('Drupal\\Core\\Database\\Database')) {
      parent::garbageCollection();
    }
  } catch (Exception $e) {
  }
}