From 585a2b96682e8e48bcc3581bf486ff2459c0cb4f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 1 May 2011 06:34:50 -0400 Subject: - Patch #1063046 by guidocecilio, linclark: hook_requirements() API documentation needs doc on 'update' phase. --- modules/system/system.api.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/system/system.api.php') diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 4422f6da7..21c9de56c 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -2761,9 +2761,10 @@ function hook_file_url_alter(&$uri) { /** * Check installation requirements and do status reporting. * - * This hook has two closely related uses, determined by the $phase argument: - * checking installation requirements ($phase == 'install') - * and status reporting ($phase == 'runtime'). + * This hook has three closely related uses, determined by the $phase argument: + * - Checking installation requirements ($phase == 'install'). + * - Checking update requirements ($phase == 'update'). + * - Status reporting ($phase == 'runtime'). * * Note that this hook, like all others dealing with installation and updates, * must reside in a module_name.install file, or it will not properly abort -- cgit v1.2.3