BUG-8665 32K Issue - Maximum of folder in shared/sites/files IMPROVEMENT

- No se modificaba la estructura porque no se tenia seteado la variable ENVIRONMENT_SETTINGS.
- Se modifico la funcion upgradeCasesDirectoryStructure para que cree la variable si no existe.
- Se movio la funcion upgradeCasesDirectoryStructure para que sea independiente al realizar el upgrade.
- se creo la funcion update-structure-directories para ejecutar por consola teniendo como parametro el workspace.
This commit is contained in:
Marco Antonio Nina
2013-06-25 14:36:02 -04:00
parent e10a1ec383
commit 85367b8272

View File

@@ -160,15 +160,15 @@ EOT
CLI::taskArg('workspace-name', true, true);
CLI::taskRun(run_translation_upgrade);
CLI::taskName('update-structure-directories');
CLI::taskName('migrate-cases-folders');
CLI::taskDescription(<<<EOT
Updating the structure directories of a workspaces
Migrating cases folders of the workspaces
Specify the WORKSPACE to updating to a different workspace name.
Specify the WORKSPACE to migrate from a existing workspace.
EOT
);
//CLI::taskArg('workspace', true);
CLI::taskOpt("workspace", "Select which workspace to updating the structure of directories, if multiple workspaces are present in the archive.",
CLI::taskOpt("workspace", "Select which workspace to migrate the cases folders, if multiple workspaces are present in the server.",
"w:", "workspace=");
CLI::taskRun(runStructureDirectories);