Index: imagecache.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/imagecache/imagecache.install,v retrieving revision 1.11.2.5 diff -u -r1.11.2.5 imagecache.install --- imagecache.install 5 Jan 2009 22:23:31 -0000 1.11.2.5 +++ imagecache.install 6 Jan 2009 14:50:35 -0000 @@ -9,18 +9,16 @@ // Ensure translations don't break at install time. $t = get_t(); - // Check for an image library. - if (!function_exists('imageapi_menu')) { - $requirements['imagecache_imageapi'] = array( - 'title' => $t('ImageAPI'), - 'value' => $t('Missing'), - 'severity' => REQUIREMENT_ERROR, - 'description' => $t('Imagecache requires ImageAPI to function.'), - ); - } - if ($phase == 'runtime') { - + // Check for an image library. + if (!function_exists('imageapi_menu')) { + $requirements['imagecache_imageapi'] = array( + 'title' => $t('ImageAPI'), + 'value' => $t('Missing'), + 'severity' => REQUIREMENT_ERROR, + 'description' => $t('Imagecache requires ImageAPI to function.'), + ); + } $imagecache_directory = file_create_path() .'/imagecache'; if (!file_check_directory($imagecache_directory, FILE_CREATE_DIRECTORY | FILE_MODIFY_PERMISSIONS)) { if (!is_dir($imagecache_directory)) {