/** * Enable the update.module on sites that had update_status module enabled. */ function system_update_6026() { $ret = array(); if (module_exists('update_status')) { // If Update status module exists, replace it with the Update module from // core. module_disable(array('update_stauts')); module_enable(array('update')); } else { // Notify user that new update module exists. drupal_set_message(t('Drupal can check periodically for important bug fixes and security releases using the new Update status module. This module can be turned on from the modules administration page. For more information please read the Update status handbook page.', array('@modules' => url('admin/build/modules'), '@update' => 'http://drupal.org/handbook/modules/update'))); } return $ret; }