function simplemenu_update_6001 in SimpleMenu 6
Same name and namespace in other branches
- 6.2 simplemenu.install \simplemenu_update_6001()
Implementation of hook_update_N().
File
- ./
simplemenu.install, line 27 - Installation and Uninstallation functions.
Code
function simplemenu_update_6001() {
// if navigation menu was used in Drupal 5 use the same in Drupal 6.
// otherwise, we can't do anything.
if (variable_get('simplemenu_menu', 1) == 1) {
variable_set('simplemenu_menu', 'navigation:0');
}
return array();
}