Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Trying to uninstall:
Fatal error: Call to undefined function db_delete() in .../sites/all/modules/switchtheme/switchtheme.install on line 12
in switchtheme.inc:
function switchtheme_uninstall() {
- db_delete('variable')
- ->condition('name', 'switchtheme_%', 'LIKE')
- ->execute();
+ db_query("DELETE FROM {variable} WHERE name LIKE 'switchtheme_%'");
}
Comments
Comment #1
klonosComment #2
uno CreditAttribution: uno commentedThanks, finally uninstalled it in D6.