// If another process has already created the cachetags table, attempting to
// recreate it will throw an exception. In this case just catch the
// exception and do nothing.
catch(DatabaseException$e){
returnTRUE;
}
catch(\Exception$e){
returnFALSE;
}
returnTRUE;
}
/**
* Defines the schema for the {cachetags} table.
@@ -131,8 +128,14 @@ public function schemaDefinition() {
* The exception.
*
* @throws \Exception
*
* @deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. There is no
* replacement.
*
* @see https://www.drupal.org/node/3243014
*/
protectedfunctioncatchException(\Exception$e){
@trigger_error('\Drupal\Core\Cache\DatabaseCacheTagsChecksum::catchException is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. There is no replacement. See https://www.drupal.org/node/3243014',E_USER_DEPRECATED);