public function InstallBackend::delete

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

Overrides DatabaseBackend::delete

File

drupal/core/lib/Drupal/Core/Cache/InstallBackend.php, line 58
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 delete($cid) {
  try {
    if (class_exists('Drupal\\Core\\Database\\Database')) {
      parent::delete($cid);
    }
  } catch (Exception $e) {
  }
}