[development] hook_update_always

Dave Cohen drupal at dave-cohen.com
Fri Sep 22 05:23:50 UTC 2006


Is it possible to perform some action every time the update.php script is run?  
I'd like my module's hook to be called each time, but I cannot figure a way 
to do it.

I've tried returning '#finished' => 0, from my hook_update_N, but that results 
in an infinite loop each time update.php is invoked.  (Is that a bug or on 
purpose?)

This is drupal 4.7, BTW.  Thanks,

-Dave


More information about the development mailing list