Commit 81ca4d60 authored by catch's avatar catch

Issue #2021749 by Sutharsan: Fixed Core should not force latest version number...

Issue #2021749 by Sutharsan: Fixed Core should not force latest version number translations on sites.
parent 851d7d0f
......@@ -80,11 +80,6 @@ function locale_translation_build_projects() {
}
}
}
// If project is not a dev version, but is core, pick latest release.
elseif ($name == "drupal") {
// Pick latest available release.
$release = array_shift($project_updates[$name]['releases']);
}
if (!empty($release['version'])) {
$data['info']['version'] = $release['version'];
......
......@@ -47,21 +47,6 @@ function locale_test_locale_translation_projects_alter(&$projects) {
// Completely replace the project data with a set of test projects.
$base_url = url();
$projects = array (
'drupal' => array (
'name' => 'drupal',
'info' => array (
'name' => 'Drupal',
'interface translation server pattern' => $remote_url . '%core/%project/%project-%version.%language._po',
'package' => 'Core',
'version' => '8.0',
'project' => 'drupal',
'_info_file_ctime' => 1348824632,
'datestamp' => 0,
),
'datestamp' => 0,
'project_type' => 'core',
'project_status' => TRUE,
),
'contrib_module_one' => array (
'name' => 'contrib_module_one',
'info' => array (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment