summaryrefslogtreecommitdiff
path: root/modules/upload
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-05-27 18:34:03 +0000
committerDries Buytaert <dries@buytaert.net>2009-05-27 18:34:03 +0000
commit0f4060f377a6ccea57a183b3c3e4801c450f5476 (patch)
tree07a7bd87373613f3e884c8f56bfb9911eda38511 /modules/upload
parent5bdcc4ada232bf92e3d529962d9f7aa2536605cc (diff)
downloadbrdo-0f4060f377a6ccea57a183b3c3e4801c450f5476.tar.gz
brdo-0f4060f377a6ccea57a183b3c3e4801c450f5476.tar.bz2
- Patch #472642 by stella, agentrickard: remove 'implementation of' nominalizations from Docblocks.
Diffstat (limited to 'modules/upload')
-rw-r--r--modules/upload/upload.install6
-rw-r--r--modules/upload/upload.module30
2 files changed, 18 insertions, 18 deletions
diff --git a/modules/upload/upload.install b/modules/upload/upload.install
index b09174afd..0b50e0bbc 100644
--- a/modules/upload/upload.install
+++ b/modules/upload/upload.install
@@ -12,7 +12,7 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function upload_install() {
// Create table. The upload table might have been created in the Drupal 5
@@ -24,7 +24,7 @@ function upload_install() {
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function upload_uninstall() {
// Remove tables.
@@ -32,7 +32,7 @@ function upload_uninstall() {
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function upload_schema() {
$schema['upload'] = array(
diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index b8265b3b8..c54297a41 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -8,7 +8,7 @@
*/
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function upload_help($path, $arg) {
switch ($path) {
@@ -23,7 +23,7 @@ function upload_help($path, $arg) {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function upload_theme() {
return array(
@@ -40,7 +40,7 @@ function upload_theme() {
}
/**
- * Implementation of hook_perm().
+ * Implement hook_perm().
*/
function upload_perm() {
return array(
@@ -83,7 +83,7 @@ function upload_node_links($node, $teaser) {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function upload_menu() {
$items['upload/js'] = array(
@@ -146,7 +146,7 @@ function _upload_file_limits($user) {
}
/**
- * Implementation of hook_file_download().
+ * Implement hook_file_download().
*/
function upload_file_download($filepath) {
$filepath = file_create_path($filepath);
@@ -264,7 +264,7 @@ function upload_form_alter(&$form, $form_state, $form_id) {
}
/**
- * Implementation of hook_file_load().
+ * Implement hook_file_load().
*/
function upload_file_load($files) {
// Add the upload specific data into the file object.
@@ -277,7 +277,7 @@ function upload_file_load($files) {
}
/**
- * Implementation of hook_file_references().
+ * Implement hook_file_references().
*/
function upload_file_references($file) {
// If upload.module is still using a file, do not let other modules delete it.
@@ -289,7 +289,7 @@ function upload_file_references($file) {
}
/**
- * Implementation of hook_file_delete().
+ * Implement hook_file_delete().
*/
function upload_file_delete($file) {
// Delete all information associated with the file.
@@ -297,7 +297,7 @@ function upload_file_delete($file) {
}
/**
- * Implementation of hook_node_load().
+ * Implement hook_node_load().
*/
function upload_node_load($nodes, $types) {
// Collect all the revision ids for nodes with upload enabled.
@@ -335,7 +335,7 @@ function upload_node_load($nodes, $types) {
}
/**
- * Implementation of hook_node_view().
+ * Implement hook_node_view().
*/
function upload_node_view($node, $teaser) {
if (!isset($node->files)) {
@@ -381,7 +381,7 @@ function upload_node_view($node, $teaser) {
}
/**
- * Implementation of hook_node_insert().
+ * Implement hook_node_insert().
*/
function upload_node_insert($node) {
if (user_access('upload files')) {
@@ -390,7 +390,7 @@ function upload_node_insert($node) {
}
/**
- * Implementation of hook_node_update().
+ * Implement hook_node_update().
*/
function upload_node_update($node) {
if (user_access('upload files')) {
@@ -399,7 +399,7 @@ function upload_node_update($node) {
}
/**
- * Implementation of hook_node_delete().
+ * Implement hook_node_delete().
*/
function upload_node_delete($node) {
db_delete('upload')->condition('nid', $node->nid)->execute();
@@ -412,7 +412,7 @@ function upload_node_delete($node) {
}
/**
- * Implementation of hook_node_delete_revision().
+ * Implement hook_node_delete_revision().
*/
function upload_node_delete_revision($node) {
db_delete('upload')->condition('vid', $node->vid)->execute();
@@ -425,7 +425,7 @@ function upload_node_delete_revision($node) {
}
/**
- * Implementation of hook_node_search_result().
+ * Implement hook_node_search_result().
*/
function upload_node_search_result($node) {
return isset($node->files) && is_array($node->files) ? format_plural(count($node->files), '1 attachment', '@count attachments') : NULL;