function backup_migrate_uninstall in Backup and Migrate 5
Same name and namespace in other branches
- 8.2 backup_migrate.install \backup_migrate_uninstall()
- 8.3 backup_migrate.install \backup_migrate_uninstall()
- 5.2 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 17 - backup and migrate install/uninstall hooks
Code
function backup_migrate_uninstall() {
db_query("DELETE FROM {variable} WHERE name LIKE 'backup_migrate_%'");
cache_clear_all('variables', 'cache');
}