function metatag_update_7016 in Metatag 7
Update the revision ID to fix the NULL values.
Help avoid problems with update 7017.
File
- ./
metatag.install, line 1593 - Install, update, and uninstall functions for the metatag module.
Code
function metatag_update_7016() {
// It's possible that 7015 was not executed if the site had been updated to
// an early dev release, so make sure the revision_id field exists.
metatag_update_7015();
// Run the update.
db_query("UPDATE {metatag} SET revision_id = 0 WHERE revision_id IS NULL");
}