1.20.x cache-install.inc BackdropFakeCache::delete(string $cid)

Overrides BackdropDatabaseCache::delete().

Overrides BackdropDatabaseCache::delete

File

includes/cache-install.inc, line 41
Provides a stub cache implementation to be used during installation.

Class

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

Code

function delete(string $cid) {
  try {
    if (class_exists('Database')) {
      parent::delete($cid);
    }
  }
  catch (Exception $e) {
  }
}