You are here

function notifications_ui_update_6000 in Notifications 6

Same name and namespace in other branches
  1. 6.4 notifications_ui/notifications_ui.install \notifications_ui_update_6000()
  2. 6.2 notifications_ui/notifications_ui.install \notifications_ui_update_6000()
  3. 6.3 notifications_ui/notifications_ui.install \notifications_ui_update_6000()

Update UI variables

File

notifications_ui/notifications_ui.install, line 22

Code

function notifications_ui_update_6000() {

  // All options will be messed up so we better do manual review
  variable_del('notifications_link_teaser');
  drupal_set_message('Please, check all your Notifications UI settings and note the new options.');
  return array();
}