You are here

function metatag_update_7005 in Metatag 7

Removing wrong metatag watchdog entries that break the dblog page.

File

./metatag.install, line 939
Install, update, and uninstall functions for the metatag module.

Code

function metatag_update_7005() {
  if (db_table_exists('watchdog')) {
    db_delete('watchdog')
      ->condition('type', 'metatag')
      ->condition('variables', serialize('info'))
      ->execute();
  }
}