[development] 4.8/5.0: Modules, the install system, and directories

andrew morton drewish at katherinehouse.com
Wed Feb 22 13:48:39 UTC 2006


On 2/22/06, Morbus Iff <morbus at disobey.com> wrote:
>   * .install files get aggregator_schema_version() function which tells
>     the installer which version number to set in the system table on
>     FIRST INSTALL. This way, it's not calling or seeing a number of
>     updates that are already applied to the initial starting table.
>     (I think this is a problem in our current install system, right?)

I'm not sure what you're asking for here. Currently, after
hook_install is called, the schema version is set to the greatest
current schema update. I.e. if you've got a module_update_5 in the
.install file, then the schema will be set to 5. So you don't get any
updates you don't need.

andrew


More information about the development mailing list