diff options
author | Jennifer Hodgdon <yahgrp@poplarware.com> | 2012-09-04 09:46:10 -0700 |
---|---|---|
committer | Jennifer Hodgdon <yahgrp@poplarware.com> | 2012-09-04 09:46:10 -0700 |
commit | c48394d85ffbe682713579af2b3c8740c0a34f35 (patch) | |
tree | d0260eed6cdf910c0912157e4fa8dadafe9555ac /modules/file | |
parent | e1a760f48eda2e5b4b36061077d6bb87f589c2d6 (diff) | |
download | brdo-c48394d85ffbe682713579af2b3c8740c0a34f35.tar.gz brdo-c48394d85ffbe682713579af2b3c8740c0a34f35.tar.bz2 |
Issue #1753976 by jfhovinne, savithac, PrabhuG: Remove return value docs from file download alter hook that should not be there
Diffstat (limited to 'modules/file')
-rw-r--r-- | modules/file/file.api.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/file/file.api.php b/modules/file/file.api.php index 72aae40c9..df178c6f6 100644 --- a/modules/file/file.api.php +++ b/modules/file/file.api.php @@ -51,12 +51,6 @@ function hook_file_download_access($file_item, $entity_type, $entity) { * The type of $entity; for example, 'node' or 'user'. * @param $entity * The $entity to which $file is referenced. - * - * @return - * An array of grants, keyed by module name, each with a Boolean grant value. - * Return an empty array to assert FALSE. You may choose to return your own - * module's value in addition to other grants or to overwrite the values set - * by other modules. */ function hook_file_download_access_alter(&$grants, $file_item, $entity_type, $entity) { // For our example module, we always enforce the rules set by node module. |