BUG 9720 Proceso de actualizacióe ProcessMaker es lento IMPROVEMENT

- ProcessMaker update process is slow for query.
- Was optimized queries and was modified the  rebuild "Table content".
This commit is contained in:
Marco Antonio Nina
2012-10-05 16:58:26 -04:00
parent 0ea42390de
commit 52086504f1
4 changed files with 30 additions and 18 deletions

View File

@@ -290,7 +290,7 @@ class workspaceTools {
* Upgrade this workspace Content.
*
*/
public function upgradeContent() {
public function upgradeContent($workSpace=SYS_SYS) {
$this->initPropel(true);
require_once('classes/model/Language.php');
G::LoadThirdParty('pear/json', 'class.json');
@@ -304,7 +304,7 @@ class workspaceTools {
}
require_once('classes/model/Content.php');
$regenerateContent = new Content();
$regenerateContent->regenerateContent($arrayLang);
$regenerateContent->regenerateContent($arrayLang, $workSpace);
}
/**