summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/system/system.api.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 05ed97d28..082807a0c 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -1973,7 +1973,10 @@ function hook_install() {
* to the user. If no message is returned, no message will be presented to the
* user.
*/
-function hook_update_N(&$sandbox = NULL) {
+function hook_update_N(&$sandbox) {
+ // For non-multipass updates, the signature can simply be;
+ // function hook_update_N() {
+
// For most updates, the following is sufficient.
db_add_field('mytable1', 'newcol', array('type' => 'int', 'not null' => TRUE, 'description' => 'My new integer column.'));