diff --git a/core/modules/views/views.install b/core/modules/views/views.install index 4266a0a..32aabb4 100644 --- a/core/modules/views/views.install +++ b/core/modules/views/views.install @@ -33,8 +33,6 @@ function views_schema_0() { */ function views_requirements($phase) { $requirements = array(); - $t = get_t(); - // Display a warning if the user attempts to update with a Drupal 7 version // of Views. An upgrade path is provided by the views_d8_upgrade contributed // module, which uninstalls Views before beginning the Drupal 8 upgrade. @@ -44,10 +42,10 @@ function views_requirements($phase) { $version = (int) drupal_get_installed_schema_version('views'); if (($version != SCHEMA_UNINSTALLED) && ($version < 8000)) { $requirements['views_upgrade'] = array( - 'title' => $t('Installed Views version'), + 'title' => t('Installed Views version'), 'value' => $version, 'severity' => REQUIREMENT_ERROR, - 'description' => $t( + 'description' => t( 'Your installed version of Views is too old. To migrade Views data from Drupal 7, install and run the Views Drupal 7 to Drupal 8 upgrade module before installing Drupal 8.', array( '@url' => url('http://drupal.org/project/views_d8_upgrade'),