summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-20 00:55:30 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-20 00:55:30 +0000
commit0d2b7fe81b37ce2ccddca0d6bbd1aa276d20d82e (patch)
treefdca2c31435f098d88fb23a5b5a94ce912282327 /modules/simpletest/tests
parenteeb7b53ef6c2098a0e428f98dd578eaa78a1ed89 (diff)
downloadbrdo-0d2b7fe81b37ce2ccddca0d6bbd1aa276d20d82e.tar.gz
brdo-0d2b7fe81b37ce2ccddca0d6bbd1aa276d20d82e.tar.bz2
- Patch #443200 by c960657: fixed user pictures not working with private files.
Diffstat (limited to 'modules/simpletest/tests')
-rw-r--r--modules/simpletest/tests/file_test.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/tests/file_test.module b/modules/simpletest/tests/file_test.module
index 567508a4f..e9d4ce1f8 100644
--- a/modules/simpletest/tests/file_test.module
+++ b/modules/simpletest/tests/file_test.module
@@ -221,8 +221,8 @@ function file_test_file_validate($file) {
/**
* Implement hook_file_download().
*/
-function file_test_file_download($file) {
- _file_test_log_call('download', array($file));
+function file_test_file_download($uri) {
+ _file_test_log_call('download', array($uri));
return _file_test_get_return('download');
}