Upgrade PHP files

This commit is contained in:
Fernando Ontiveros
2025-03-28 13:16:06 +00:00
parent 7f3ee186de
commit 039ade9083
83 changed files with 96 additions and 745 deletions

View File

@@ -180,7 +180,6 @@ EOT
CLI::taskArg('workspace', true, true);
CLI::taskRun("run_migrate_itee_to_dummytask");
/*----------------------------------********---------------------------------*/
CLI::taskName("check-workspace-disabled-code");
CLI::taskDescription(<<<EOT
Check disabled code for the specified workspace(s).
@@ -219,7 +218,6 @@ EOT
);
CLI::taskArg('workspace', true, true);
CLI::taskRun("run_migrate_list_unassigned");
/*----------------------------------********---------------------------------*/
CLI::taskName('migrate-indexing-acv');
CLI::taskDescription(<<<EOT
@@ -313,7 +311,6 @@ EOT
CLI::taskArg('workspace');
CLI::taskRun("regenerate_pmtable_classes");
/*----------------------------------********---------------------------------*/
/**
* Migrate the data from APP_HISTORY table to the new table APP_DATA_CHANGE_LOG.
*/
@@ -324,7 +321,6 @@ EOT
);
CLI::taskArg('workspace');
CLI::taskRun('migrate_history_data');
/*----------------------------------********---------------------------------*/
/**
* Remove the DYN_CONTENT_HISTORY
@@ -895,9 +891,7 @@ function run_workspace_restore($args, $opts)
$lang = array_key_exists("lang", $opts) ? $opts['lang'] : 'en';
$port = array_key_exists("port", $opts) ? $opts['port'] : '';
$optionMigrateHistoryData = [
/*----------------------------------********---------------------------------*/
'keepDynContent' => array_key_exists('keep_dyn_content', $args)
/*----------------------------------********---------------------------------*/
];
if ($info) {
WorkspaceTools::getBackupInfo($filename);
@@ -1031,7 +1025,6 @@ function run_migrate_itee_to_dummytask($args, $opts)
}
}
}
/*----------------------------------********---------------------------------*/
/**
* Check if we need to execute an external program for each workspace
@@ -1167,7 +1160,6 @@ function migrate_list_unassigned($command, $args)
}
}
}
/*----------------------------------********---------------------------------*/
/**
* Check if we need to execute an external program for each workspace
@@ -1300,7 +1292,6 @@ function regenerate_pmtable_classes($args, $opts)
}
}
/*----------------------------------********---------------------------------*/
/**
* This method migrates data from APP_HISTORY table to APP_DATA_CHANGE_LOG table.
*
@@ -1327,7 +1318,6 @@ function migrate_history_data($args, $opts)
}
}
}
/*----------------------------------********---------------------------------*/
/**
* Will be clean the History of use from the table