MDL-21694 Reverted the order of the locations to search for strings
This reverts commit 57d8644758.
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user