diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-08-23 09:04:57 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-08-23 09:04:57 +0000 |
commit | c16bee54ec38e9ae6f322a67af45491db3589c84 (patch) | |
tree | 57f3ed0113136b0d4458b55989c59f8aae8ef564 /modules/image/tests/image_module_test.module | |
parent | 7c57f94315b7f476f37877970b57098fe8e56aab (diff) | |
download | brdo-c16bee54ec38e9ae6f322a67af45491db3589c84.tar.gz brdo-c16bee54ec38e9ae6f322a67af45491db3589c84.tar.bz2 |
- Patch #851878 by justinrandell, flobruit, ksenzee, aaron, litwol, Damien Tournoud: added missing files.
Diffstat (limited to 'modules/image/tests/image_module_test.module')
-rw-r--r-- | modules/image/tests/image_module_test.module | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/image/tests/image_module_test.module b/modules/image/tests/image_module_test.module new file mode 100644 index 000000000..5aa9dadb5 --- /dev/null +++ b/modules/image/tests/image_module_test.module @@ -0,0 +1,14 @@ +<?php +// $Id$ + +/** + * @file + * Provides Image module hook implementations for testing purposes. + */ + +function image_module_test_file_download($uri) { + if (variable_get('image_module_test_file_download', FALSE) == $uri) { + return array('X-Image-Owned-By' => 'image_module_test'); + } + return -1; +} |