BUG-11505 Al realizar el upgrade se ven errores... SOLVED

- The order of the compilation wrong in the upgrade.
- add validation.
This commit is contained in:
Marco Antonio Nina
2013-04-29 13:55:47 -04:00
parent 18a8b19e80
commit e632eacf27

View File

@@ -302,12 +302,12 @@ class workspaceTools
$names = explode(".", basename($poFile));
$extension = array_pop($names);
$langid = array_pop($names);
CLI::logging("Updating database translations with $poName\n");
Language::import($poFile, false, true);
if ($first) {
CLI::logging("Updating XML form translations with $poName\n");
Language::import($poFile, true, false);
}
CLI::logging("Updating database translations with $poName\n");
Language::import($poFile, false, true);
}
}