summaryrefslogtreecommitdiff
path: root/modules/update
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-04 16:49:48 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-04 16:49:48 +0000
commit1da26fadfe9cdcbd89a912b9f61c710adff4c6c8 (patch)
treed77a0c5420a53c65d24b8ac1842b7f1e356c39d3 /modules/update
parent8523aca33e828c638f2373e5be4e80ed30866a58 (diff)
downloadbrdo-1da26fadfe9cdcbd89a912b9f61c710adff4c6c8.tar.gz
brdo-1da26fadfe9cdcbd89a912b9f61c710adff4c6c8.tar.bz2
- Patch #502190 by jhodgdon, stella, sun: hook implementation headers out of compliance with standards.
Diffstat (limited to 'modules/update')
-rw-r--r--modules/update/tests/update_test.module4
-rw-r--r--modules/update/update.install6
-rw-r--r--modules/update/update.module20
3 files changed, 15 insertions, 15 deletions
diff --git a/modules/update/tests/update_test.module b/modules/update/tests/update_test.module
index 4ae4bccf9..252edb361 100644
--- a/modules/update/tests/update_test.module
+++ b/modules/update/tests/update_test.module
@@ -2,7 +2,7 @@
// $Id$
/**
- * Implement hook_menu().
+ * Implements hook_menu().
*/
function update_test_menu() {
$items = array();
@@ -18,7 +18,7 @@ function update_test_menu() {
}
/**
- * Implement hook_system_info_alter().
+ * Implements hook_system_info_alter().
*
* This checks the 'update_test_system_info' variable and sees if we need to
* alter the system info for the given $file based on the setting. The setting
diff --git a/modules/update/update.install b/modules/update/update.install
index 66db2278b..eb873ecb7 100644
--- a/modules/update/update.install
+++ b/modules/update/update.install
@@ -7,7 +7,7 @@
*/
/**
- * Implement hook_install().
+ * Implements hook_install().
*/
function update_install() {
$queue = DrupalQueue::get('update_fetch_tasks');
@@ -15,7 +15,7 @@ function update_install() {
}
/**
- * Implement hook_uninstall().
+ * Implements hook_uninstall().
*/
function update_uninstall() {
// Clear any variables that might be in use
@@ -37,7 +37,7 @@ function update_uninstall() {
}
/**
- * Implement hook_schema().
+ * Implements hook_schema().
*/
function update_schema() {
$schema['cache_update'] = drupal_get_schema_unprocessed('system', 'cache');
diff --git a/modules/update/update.module b/modules/update/update.module
index aa153ced6..83c0ae3f0 100644
--- a/modules/update/update.module
+++ b/modules/update/update.module
@@ -72,7 +72,7 @@ define('UPDATE_MAX_FETCH_ATTEMPTS', 2);
define('UPDATE_MAX_FETCH_TIME', 5);
/**
- * Implement hook_help().
+ * Implements hook_help().
*/
function update_help($path, $arg) {
switch ($path) {
@@ -150,7 +150,7 @@ function update_help($path, $arg) {
}
/**
- * Implement hook_menu().
+ * Implements hook_menu().
*/
function update_menu() {
$items = array();
@@ -253,7 +253,7 @@ function update_manager_access() {
}
/**
- * Implement hook_theme().
+ * Implements hook_theme().
*/
function update_theme() {
return array(
@@ -277,7 +277,7 @@ function update_theme() {
}
/**
- * Implement hook_requirements().
+ * Implements hook_requirements().
*
* @return
* An array describing the status of the site regarding available updates.
@@ -391,7 +391,7 @@ function _update_requirement_check($project, $type) {
}
/**
- * Implement hook_cron().
+ * Implements hook_cron().
*/
function update_cron() {
$frequency = variable_get('update_check_frequency', 1);
@@ -411,7 +411,7 @@ function update_cron() {
}
/**
- * Implement hook_themes_enabled().
+ * Implements hook_themes_enabled().
*
* If themes are enabled, we invalidate the cache of available updates.
*/
@@ -421,7 +421,7 @@ function update_themes_enabled($themes) {
}
/**
- * Implement hook_themes_disabled().
+ * Implements hook_themes_disabled().
*
* If themes are disabled, we invalidate the cache of available updates.
*/
@@ -431,7 +431,7 @@ function update_themes_disabled($themes) {
}
/**
- * Implement hook_form_FORM_ID_alter().
+ * Implements hook_form_FORM_ID_alter().
*
* Adds a submit handler to the system modules form, so that if a site admin
* saves the form, we invalidate the cache of available updates.
@@ -583,7 +583,7 @@ function _update_get_cached_available_releases() {
}
/**
- * Implement hook_mail().
+ * Implements hook_mail().
*
* Constructs the email notification message when the site is out of date.
*
@@ -871,7 +871,7 @@ function _update_cache_clear($cid = NULL, $wildcard = FALSE) {
}
/**
- * Implement hook_flush_caches().
+ * Implements hook_flush_caches().
*
* Called from update.php (among others) to flush the caches.
* Since we're running update.php, we are likely to install a new version of