[development] Choosing the N number for .install's hook_update_N

Earnie Boyd earnie at users.sourceforge.net
Wed Aug 6 12:21:46 UTC 2008


Quoting Karoly Negyesi <karoly at negyesi.net>:

>
> So how [digit for Drupalcorenumber][digit for branchnumber][two 
> digits for sequence] is not enough?
>

When digit becomes digits it is not enough.

However I've understood Derek to say that N is just a sequence number 
and [digit for Drupalcorenumber][digit for branchnumber][two digits for 
sequence] is a convention that isn't enforced by code.  So 
mymod_update_1 is sufficient for the update script to find my update.  
The documentation doesn't state that though; so this exercise wasn't a 
waste of time because at least now it is documented in the list 
archives.

Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/



More information about the development mailing list