You are here

function elysia_cron_uninstall in Elysia Cron 7

Same name and namespace in other branches
  1. 5.2 elysia_cron.install \elysia_cron_uninstall()
  2. 5 elysia_cron.install \elysia_cron_uninstall()
  3. 6.2 elysia_cron.install \elysia_cron_uninstall()
  4. 6 elysia_cron.install \elysia_cron_uninstall()
  5. 7.2 elysia_cron.install \elysia_cron_uninstall()

Implementation of hook_uninstall().

File

./elysia_cron.install, line 143

Code

function elysia_cron_uninstall() {
  $rs = db_query("select name from {variable} where name like 'elysia_cron_%%'");
  foreach ($rs as $o) {
    variable_del($o->name);
  }

  //drupal_uninstall_schema('elysia_cron');
  drupal_set_message('Elysia cron uninstalled.');
}