Re: Hi, All i did to "update"

Posts: 4368
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Yeah, you'd also have to add something like this to your mozambique_update() function:

<?php
switch ($version) {
  case
2:
   
// do your update query...
   
break;
}
?>

Although since Mozambique isn't in core yet, I'd just change it and leave it as version 1. We don't really need updates until something been committed and is in public use.

Country formats By: doomed@drupal.org (11 replies) Tue, 04/08/2008 - 17:29