MDL-21694 Reverted the order of the locations to search for strings

This reverts commit 57d8644758.
This commit is contained in:
David Mudrak
2010-03-29 22:21:34 +00:00
parent 5275be9f82
commit 5f248e13fe
+2 -2
View File
@@ -5901,7 +5901,8 @@ class string_manager {
return $this->searchpathsformodule[$module];
}
$locations = array();
$locations = $this->corelocations;
if (!array_key_exists($module, $this->nonpluginfiles)) {
foreach ($locations as $location => $ignored) {
$locations[$location] = $module . '/';
@@ -5913,7 +5914,6 @@ class string_manager {
}
}
}
$locations = $locations + $this->corelocations;
$this->searchpathsformodule[$module] = $locations;
return $locations;