Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
1 file
+ 0
24
Compare changes
  • Side-by-side
  • Inline
  • 4997bdb4
    Issue #3261264 by andypost: Remove deprecated code from... · 4997bdb4
    catch authored
    Issue #3261264 by andypost: Remove deprecated code from \Drupal\Core\Cache\DatabaseCacheTagsChecksum
@@ -117,30 +117,6 @@ public function schemaDefinition() {
return $schema;
}
/**
* Act on an exception when cache might be stale.
*
* If the {cachetags} table does not yet exist, that's fine but if the table
* exists and yet the query failed, then the cache is stale and the
* exception needs to propagate.
*
* @param \Exception $e
* 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
*/
protected function catchException(\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);
if ($this->connection->schema()->tableExists('cachetags')) {
throw $e;
}
}
/**
* {@inheritdoc}
*/
Loading