You are here

function variable_store_variable_delete in Variable 7

Implements hook_variable_delete().

File

variable_store/variable_store.module, line 155
Variable API module - Database storage

Code

function variable_store_variable_delete($variable) {
  db_delete('variable_store')
    ->condition('name', variable_children($variable['name']))
    ->execute();
  _variable_store_reset();
}