materio-base-legacy/simplemenu.install
2008-10-12 23:35:48 +00:00

14 lines
330 B
Plaintext

<?php
// $Id$
/**
* Implementation of hook_update_N().
*/
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();
}