You are here

function imageeditor_inline_uninstall in Image Editor 7

Implements hook_uninstall().

File

imageeditor_inline/imageeditor_inline.install, line 10
Install and uninstall functions for Image Editor Inline module.

Code

function imageeditor_inline_uninstall() {

  // Removes all variables that start with "imageeditor_inline_".
  $results = db_select('variable', 'v')
    ->fields('v', array(
    'name',
  ))
    ->condition('name', 'imageeditor_inline_%', 'LIKE')
    ->execute();
  foreach ($results as $result) {
    variable_del($result->name);
  }
}