From c48394d85ffbe682713579af2b3c8740c0a34f35 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Tue, 4 Sep 2012 09:46:10 -0700 Subject: Issue #1753976 by jfhovinne, savithac, PrabhuG: Remove return value docs from file download alter hook that should not be there --- modules/file/file.api.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'modules/file') 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. -- cgit v1.2.3