1.20.x cache-install.inc BackdropFakeCache::flush()

Overrides BackdropDatabaseCache::flush().

Overrides BackdropDatabaseCache::flush

File

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

Class

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

Code

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