PM-3850 "Problema al regenerar los nuevos listados..." SOLVED

This commit is contained in:
Luis Fernando Saisa Lopez
2015-10-21 17:08:40 -04:00
parent 62ff422511
commit 23c8ec8bb2
2 changed files with 4 additions and 11 deletions

View File

@@ -682,17 +682,7 @@ function migrate_new_cases_lists($command, $args) {
print_r("Upgrading database in " . pakeColor::colorize($workspace->name, "INFO") . "\n");
try {
$ws = $workspace->name;
$sContent = file_get_contents (PATH_DB . $ws . PATH_SEP . 'db.php');
if (strpos($sContent, 'rb_')) {
$workspace->onedb = false;
} else {
$workspace->onedb = true;
}
if ($workspace->onedb) {
$workspace->migrateList($workspace->name, true);
}
$workspace->migrateList($workspace->name, true);
echo "> List tables are done\n";
} catch (Exception $e) {