BUG 9720 Proceso de actualizacióe ProcessMaker es lento SOLVED

- 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-09-26 11:24:49 -04:00
parent a8cc4a00f9
commit 9cfa140807
2 changed files with 4 additions and 3 deletions

View File

@@ -369,13 +369,13 @@ class Content extends BaseContent {
foreach ($content as $key => $value) {
unset($langsAsoc[$value['CON_LANG']]);
}
foreach ($langsAsoc as $key) {
foreach ($langsAsoc as $key => $value) {
$this->rowsInserted++;
$this->fastInsertContent(
$default['CON_CATEGORY'],
$default['CON_PARENT'],
$default['CON_ID'],
$lang,
$value,
$default['CON_VALUE']
);
}