function backup_migrate_uninstall in Backup and Migrate 8.2
Same name and namespace in other branches
- 8.3 backup_migrate.install \backup_migrate_uninstall()
- 5.2 backup_migrate.install \backup_migrate_uninstall()
- 5 backup_migrate.install \backup_migrate_uninstall()
- 6.3 backup_migrate.install \backup_migrate_uninstall()
- 6 backup_migrate.install \backup_migrate_uninstall()
- 6.2 backup_migrate.install \backup_migrate_uninstall()
- 7.3 backup_migrate.install \backup_migrate_uninstall()
- 7.2 backup_migrate.install \backup_migrate_uninstall()
- 5.0.x backup_migrate.install \backup_migrate_uninstall()
Remove variables on uninstall.
File
- ./
backup_migrate.install, line 225 - Install hooks for Backup and Migrate.
Code
function backup_migrate_uninstall() {
db_query("DELETE FROM {variable} WHERE name LIKE 'backup_migrate_%'");
// @todo replace this with something quicker
drupal_flush_all_caches();
}