[development] Installation -- Can A Module "Refuse" To Be Installed?

Moshe Weitzman weitzman at tejasa.com
Sun Apr 9 05:01:58 UTC 2006


Rob Thorne wrote:
> Steven,
> 
> If I am understanding you correctly, perhaps you would be a bit more 
> explicit:  where does "latest update number" get set?
> 
> I suspect you mean that the install code is looking for functions with 
> signatures like "mymodule_update_42"; you are saying that if there is a 
> "mymodule_update_41", but no number higher than "42", then the update 
> number will be "42".
> 
> I am asking this because if this behavior is documented, the 
> documentation is well hidden, and for the record, I'd like somebody to 
> point to where this is documented, so that others can actually find it 
> in future.
> 
> Rob

Rob - your example is a bit ambigous. If the las defined update is 
mymodule_update_41 then the updater sets the schema_version to 41 after 
successful completion.

feel free to update http://drupal.org/node/51220


More information about the development mailing list