diff --git a/workflow/engine/classes/class.wsTools.php b/workflow/engine/classes/class.wsTools.php index 2063e352e..580e7f159 100644 --- a/workflow/engine/classes/class.wsTools.php +++ b/workflow/engine/classes/class.wsTools.php @@ -152,10 +152,10 @@ class workspaceTools CLI::logging("<*> Migrating Self-Service records Process took " . ($stop - $start) . " seconds.\n"); $start = microtime(true); - CLI::logging("> Migrating and populating indexing for APP_CACHE_VIEW...\n"); + CLI::logging("> Migrating and populating indexing for avoiding the use of table APP_CACHE_VIEW...\n"); $this->migratePopulateIndexingACV($workSpace); $stop = microtime(true); - CLI::logging("<*> Migrating an populating indexing for APP_CACHE_VIEW process took " . ($stop - $start) . " seconds.\n"); + CLI::logging("<*> Migrating an populating indexing for avoiding the use of table APP_CACHE_VIEW process took " . ($stop - $start) . " seconds.\n"); } /** @@ -3507,7 +3507,7 @@ class workspaceTools public function migratePopulateIndexingACV($workspace) { // Migrating and populating new indexes - CLI::logging("-> Migrating And Populating Indexing for APP_CACHE_VIEW Start \n"); + CLI::logging("-> Migrating an populating indexing for avoiding the use of table APP_CACHE_VIEW Start \n"); // Initializing $this->initPropel(true); @@ -3584,7 +3584,7 @@ class workspaceTools APP_STATUS_ID = 0"); $con->commit(); - CLI::logging("-> Migrating And Populating Indexing for APP_CACHE_VIEW Done \n"); + CLI::logging("-> Migrating And Populating Indexing for avoiding the use of table APP_CACHE_VIEW Done \n"); } } diff --git a/workflow/engine/classes/model/ListInbox.php b/workflow/engine/classes/model/ListInbox.php index 3a8513837..9b02ef50e 100644 --- a/workflow/engine/classes/model/ListInbox.php +++ b/workflow/engine/classes/model/ListInbox.php @@ -362,7 +362,7 @@ class ListInbox extends BaseListInbox break; case 'to_reassign': $criteria->add( ListInboxPeer::APP_STATUS, 'TO_DO', Criteria::EQUAL ); - if($usrUid !== ''){ + if ($usrUid !== '') { $criteria->add( ListInboxPeer::USR_UID, $usrUid, Criteria::EQUAL ); } break; diff --git a/workflow/engine/methods/cases/casesList_Ajax.php b/workflow/engine/methods/cases/casesList_Ajax.php index 1aa772945..5f01074bc 100644 --- a/workflow/engine/methods/cases/casesList_Ajax.php +++ b/workflow/engine/methods/cases/casesList_Ajax.php @@ -179,7 +179,7 @@ if ($actionAjax == "processListExtJs") { while ($oDataset->next()) { $aRow = $oDataset->getRow(); - if(!isset($aRow['PRO_UID'])){ + if (!isset($aRow['PRO_UID'])) { $aRow['PRO_UID'] = $aRow['PRO_ID']; } $processes[] = $aRow; diff --git a/workflow/engine/methods/cases/proxyNewCasesList.php b/workflow/engine/methods/cases/proxyNewCasesList.php index bf561dc7f..cf274c0ff 100644 --- a/workflow/engine/methods/cases/proxyNewCasesList.php +++ b/workflow/engine/methods/cases/proxyNewCasesList.php @@ -32,11 +32,11 @@ try { $openApplicationUid = (isset($_REQUEST['openApplicationUid']) && $_REQUEST['openApplicationUid'] != '') ? $_REQUEST['openApplicationUid'] : null; //Define user when is reassign - if($filters['action'] == 'to_reassign') { - if($filters['user'] == '' ){ + if ($filters['action'] == 'to_reassign') { + if ($filters['user'] == '' ) { $userUid = ''; } - if($filters['user'] !== '' && $filters['user'] !== 'CURRENT_USER'){ + if ($filters['user'] !== '' && $filters['user'] !== 'CURRENT_USER') { $userUid = $filters['user']; } }