diff --git a/metatag.install b/metatag.install index fc35468..6f33c07 100644 --- a/metatag.install +++ b/metatag.install @@ -95,28 +95,6 @@ function metatag_requirements($phase) { ); } - // It's recommended to install the Transliteration module to clean up file - // paths for use with image meta tags. - if (!module_exists('transliteration')) { - $requirements['metatag_transliteration'] = array( - 'severity' => REQUIREMENT_WARNING, - 'title' => 'Metatag', - 'value' => $t('The Transliteration module is not installed.'), - 'description' => $t("It is highly recommended to install the Transliteration module to clean up filenames of uploaded files that may be used with image meta tags.", array('@url' => 'https://drupal.org/project/transliteration')), - ); - } - - // It's recommended to install the Imagecache Token module to make image - // tokens easier to do. - if (!module_exists('imagecache_token')) { - $requirements['metatag_imagecache_token'] = array( - 'severity' => REQUIREMENT_WARNING, - 'title' => 'Metatag', - 'value' => $t('The Imagecache Token module is not installed.'), - 'description' => $t("It is highly recommended to install the Imagecache Token module to make it easier to control image meta tags, e.g. og:image.", array('@url' => 'https://drupal.org/project/imagecache_token')), - ); - } - // The Admin Language module can cause problems. if (!module_exists('admin_language') && variable_get('admin_language_force_neutral', 0)) { $requirements['metatag_admin_language'] = array( @@ -1016,7 +994,7 @@ function metatag_update_7017() { if (!variable_get('metatag_skip_update_7017', FALSE)) { // Let's add a temporary unique key so MySQL will let it go. db_add_unique_key('metatag', 'temp_key', array('entity_type', 'entity_id', 'revision_id', 'language')); - + // Now remove the PK before changing a field from serial. db_drop_primary_key('metatag');