- #311977: update function
This commit is contained in:
parent
c98cff88e7
commit
a42aa98302
14
simplemenu.install
Normal file
14
simplemenu.install
Normal file
@ -0,0 +1,14 @@
|
||||
<?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();
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user