Merged in zeitmaster/processmaker/HOR-1008 (pull request #4231)

HOR-1008
This commit is contained in:
Julio Cesar Laura Avendaño
2016-05-16 17:07:35 -04:00

View File

@@ -2011,12 +2011,8 @@ class workspaceTools
$this->regenerateListParticipatedHistory(); // this list require no translation $this->regenerateListParticipatedHistory(); // this list require no translation
$this->regenerateListParticipatedLast(); // this list require no translation $this->regenerateListParticipatedLast(); // this list require no translation
$this->regenerateListPaused(); // this list require no translation $this->regenerateListPaused(); // this list require no translation
$this->migrateCounters();
} }
// ADD LISTS COUNTS
$this->migrateCounters();
if (!$flagReinsert) { if (!$flagReinsert) {
$this->listFirstExecution("insert"); $this->listFirstExecution("insert");
} }
@@ -2439,6 +2435,7 @@ class workspaceTools
public function migrateCounters() public function migrateCounters()
{ {
$this->initPropel(true);
$aTypes = array( $aTypes = array(
'to_do', 'to_do',
'draft', 'draft',