summaryrefslogtreecommitdiff
path: root/modules/upload/upload.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/upload/upload.module')
-rw-r--r--modules/upload/upload.module30
1 files changed, 15 insertions, 15 deletions
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;