FALSE))) { $description = $t('Default image found at %path', array('%path' => $path)); $severity = REQUIREMENT_OK; $value = $t('Default image found'); } else { $description = $t('Image(Cache) Defaults cannot find a default image to use when repairing broken image paths. Please read README.txt for more information.'); $severity = REQUIREMENT_ERROR; $value = $t('Default image not found'); } $requirements['imagecache_defaults'] = array( 'title' => $t('Image(Cache) Defaults'), 'description' => $description, 'severity' => $severity, 'value' => $value, ); } return $requirements; } /** * Implements hook_update_N(). */ function imagecache_defaults_update_7101(&$sandbox) { // New caching schema added in beta3. drupal_install_schema('imagecache_defaults'); return t("Installed cache schema."); }