simplemenu.install 330 B

1234567891011121314
  1. <?php
  2. // $Id$
  3. /**
  4. * Implementation of hook_update_N().
  5. */
  6. function simplemenu_update_6001() {
  7. // if navigation menu was used in Drupal 5 use the same in Drupal 6.
  8. // otherwise, we can't do anything.
  9. if(variable_get('simplemenu_menu', 1) == 1) {
  10. variable_set('simplemenu_menu', 'navigation:0');
  11. }
  12. return array();
  13. }