You are here

function hosting_queued_update_6201 in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 queued/hosting_queued.install \hosting_queued_update_6201()
  2. 7.3 queued/hosting_queued.install \hosting_queued_update_6201()

Implements hook_update_N().

Properly remove/uninstall the queue runner.

File

queued/hosting_queued.install, line 45
Install, update and uninstall functions for the hosting_queued module.

Code

function hosting_queued_update_6201() {

  // Disable the predecessor of this module from the Aegir 1.x world
  module_disable(array(
    'hosting_queue_runner',
  ));
  drupal_uninstall_module('hosting_queue_runner');
  return array();
}