function messages_alter_update_6000 in Custom Submit Messages 7.x
Same name and namespace in other branches
- 7 messages_alter/messages_alter.install \messages_alter_update_6000()
Implements hook_update_N().
File
- messages_alter/
messages_alter.install, line 30 - Install, update and uninstall functions for the messages alter module.
Code
function messages_alter_update_6000() {
// set the latest version
variable_set('messages_alter_version_latest', '6.x-1.1-dev');
// tell the user to check some things and update accordingly
drupal_set_message(t('Messaages Alter has just been updated. Please check and make sure your modules are compatible with the new release, and ' . l('click here', 'admin/settings/messages_alter') . ' to update to the latest MessagesAlter object.'), 'warning');
// return something empty
return array();
}