diff --git a/workflow/engine/classes/ApplicationWithoutDelegationRecordsException.php b/workflow/engine/classes/ApplicationWithoutDelegationRecordsException.php index 5ec88bf4a..dfcf2b9be 100644 --- a/workflow/engine/classes/ApplicationWithoutDelegationRecordsException.php +++ b/workflow/engine/classes/ApplicationWithoutDelegationRecordsException.php @@ -2,11 +2,6 @@ /** * Application without Delegations exception - * - * @author Herbert Saal Gutierrez - * - * @category Colosa - * @copyright Copyright (c) 2005-2012 Colosa Inc. (http://www.colosa.com) */ class ApplicationWithoutDelegationRecordsException extends Exception { diff --git a/workflow/engine/classes/BpmnEngineSearchIndexAccessSolr.php b/workflow/engine/classes/BpmnEngineSearchIndexAccessSolr.php index b9841d2fb..13192ef84 100644 --- a/workflow/engine/classes/BpmnEngineSearchIndexAccessSolr.php +++ b/workflow/engine/classes/BpmnEngineSearchIndexAccessSolr.php @@ -2,8 +2,6 @@ /** * Interface to the Solr Search server - * @author Herbert Saal Gutierrez - * */ class BpmnEngineSearchIndexAccessSolr { @@ -29,10 +27,6 @@ class BpmnEngineSearchIndexAccessSolr public function isEnabled($workspace) { $resultServerStatus = false; - - //if($this->_solrIsEnabled != true) - //return $resultServerStatus; - // verify solr server response try { $resultServerStatus = $this->ping($workspace); @@ -55,10 +49,6 @@ class BpmnEngineSearchIndexAccessSolr */ public function getNumberDocuments($workspace) { - //if (! $this->_solrIsEnabled) - //return; - // get configuration information in base to workspace parameter - // get total number of documents in registry $solrIntruct = (substr($this->_solrHost, -1) == "/") ? $this->_solrHost : $this->_solrHost . "/"; $solrIntruct .= $workspace; @@ -104,8 +94,6 @@ class BpmnEngineSearchIndexAccessSolr */ public function executeQuery($solrRequestData) { - //if (! $this->_solrIsEnabled) - //return; $solrIntruct = ''; // get configuration information in base to workspace parameter $workspace = $solrRequestData->workspace; @@ -187,8 +175,6 @@ class BpmnEngineSearchIndexAccessSolr */ public function updateDocument($solrUpdateDocument) { - //if (! $this->_solrIsEnabled) - //return; $solrIntruct = ''; // get configuration information in base to workspace parameter $solrIntruct = (substr($this->_solrHost, -1) == "/") ? $this->_solrHost : $this->_solrHost . "/"; @@ -199,7 +185,7 @@ class BpmnEngineSearchIndexAccessSolr curl_setopt($handler, CURLOPT_RETURNTRANSFER, true); curl_setopt($handler, CURLOPT_HTTPHEADER, array( 'Content-type:application/xml' - )); // -H + )); curl_setopt($handler, CURLOPT_BINARYTRANSFER, TRUE); // --data-binary curl_setopt($handler, CURLOPT_POSTFIELDS, $solrUpdateDocument->document); // data @@ -235,8 +221,6 @@ class BpmnEngineSearchIndexAccessSolr */ public function commitChanges($workspace) { - //if (! $this->_solrIsEnabled) - //return; $solrIntruct = ''; // get configuration information in base to workspace parameter $solrIntruct = (substr($this->_solrHost, -1) == "/") ? $this->_solrHost : $this->_solrHost . "/"; @@ -247,7 +231,7 @@ class BpmnEngineSearchIndexAccessSolr curl_setopt($handler, CURLOPT_RETURNTRANSFER, true); curl_setopt($handler, CURLOPT_HTTPHEADER, array( 'Content-type:application/xml' - )); // -H + )); curl_setopt($handler, CURLOPT_BINARYTRANSFER, TRUE); // --data-binary curl_setopt($handler, CURLOPT_POSTFIELDS, ""); // data @@ -283,9 +267,6 @@ class BpmnEngineSearchIndexAccessSolr */ public function rollbackChanges($workspace) { - //if (! $this->_solrIsEnabled) - //return; - $solrIntruct = ''; // get configuration information in base to workspace parameter $solrIntruct = (substr($this->_solrHost, -1) == "/") ? $this->_solrHost : $this->_solrHost . "/"; @@ -296,7 +277,7 @@ class BpmnEngineSearchIndexAccessSolr curl_setopt($handler, CURLOPT_RETURNTRANSFER, true); curl_setopt($handler, CURLOPT_HTTPHEADER, array( 'Content-type:application/xml' - )); // -H + )); curl_setopt($handler, CURLOPT_BINARYTRANSFER, TRUE); // --data-binary curl_setopt($handler, CURLOPT_POSTFIELDS, ""); // data @@ -332,9 +313,6 @@ class BpmnEngineSearchIndexAccessSolr */ public function optimizeChanges($workspace) { - //if (! $this->_solrIsEnabled) - //return; - $solrIntruct = ''; // get configuration information in base to workspace parameter $solrIntruct = (substr($this->_solrHost, -1) == "/") ? $this->_solrHost : $this->_solrHost . "/"; @@ -345,7 +323,7 @@ class BpmnEngineSearchIndexAccessSolr curl_setopt($handler, CURLOPT_RETURNTRANSFER, true); curl_setopt($handler, CURLOPT_HTTPHEADER, array( 'Content-type:application/xml' - )); // -H + )); curl_setopt($handler, CURLOPT_BINARYTRANSFER, TRUE); // --data-binary curl_setopt($handler, CURLOPT_POSTFIELDS, ""); // data @@ -381,9 +359,6 @@ class BpmnEngineSearchIndexAccessSolr */ public function getListIndexedStoredFields($workspace) { - //if (! $this->_solrIsEnabled) - //return; - $solrIntruct = ''; // get configuration information in base to workspace parameter $solrIntruct = (substr($this->_solrHost, -1) == "/") ? $this->_solrHost : $this->_solrHost . "/"; @@ -426,9 +401,6 @@ class BpmnEngineSearchIndexAccessSolr */ public function ping($workspace) { - //if (! $this->_solrIsEnabled) - //return; - $solrIntruct = ''; // get configuration information in base to workspace parameter $solrIntruct = (substr($this->_solrHost, -1) == "/") ? $this->_solrHost : $this->_solrHost . "/"; @@ -462,10 +434,6 @@ class BpmnEngineSearchIndexAccessSolr */ public function deleteAllDocuments($workspace) { - //if (! $this->_solrIsEnabled) - //return; - // $registry = Zend_Registry::getInstance(); - $solrIntruct = ''; // get configuration information in base to workspace parameter $solrIntruct = (substr($this->_solrHost, -1) == "/") ? $this->_solrHost : $this->_solrHost . "/"; @@ -476,7 +444,7 @@ class BpmnEngineSearchIndexAccessSolr curl_setopt($handler, CURLOPT_RETURNTRANSFER, true); curl_setopt($handler, CURLOPT_HTTPHEADER, array( 'Content-type:application/xml' - )); // -H + )); curl_setopt($handler, CURLOPT_BINARYTRANSFER, TRUE); // --data-binary curl_setopt($handler, CURLOPT_POSTFIELDS, "*:*"); // data @@ -513,10 +481,6 @@ class BpmnEngineSearchIndexAccessSolr */ public function deleteDocument($workspace, $idQuery) { - //if (! $this->_solrIsEnabled) - //return; - // $registry = Zend_Registry::getInstance(); - $solrIntruct = ''; // get configuration information in base to workspace parameter $solrIntruct = (substr($this->_solrHost, -1) == "/") ? $this->_solrHost : $this->_solrHost . "/"; @@ -527,7 +491,7 @@ class BpmnEngineSearchIndexAccessSolr curl_setopt($handler, CURLOPT_RETURNTRANSFER, true); curl_setopt($handler, CURLOPT_HTTPHEADER, array( 'Content-type:application/xml' - )); // -H + )); curl_setopt($handler, CURLOPT_BINARYTRANSFER, TRUE); // --data-binary curl_setopt($handler, CURLOPT_POSTFIELDS, "" . $idQuery . ""); // data @@ -562,9 +526,6 @@ class BpmnEngineSearchIndexAccessSolr */ public function getFacetsList($facetRequest) { - //if (! $this->_solrIsEnabled) - //return; - $solrIntruct = ''; // get configuration information in base to workspace parameter $workspace = $facetRequest->workspace; @@ -589,14 +550,13 @@ class BpmnEngineSearchIndexAccessSolr $facets .= '&facet.date=' . $value; } $facets .= '&facet.date.start=' . $facetRequest->facetDatesStart; - $facets .= '&facet.date.end=' . $facetRequest->facetDatesEnd; + $facets .= '&facet.date.end=' . $facetRequest->facet | DatesEnd; $facets .= '&facet.date.gap=' . $facetRequest->facetDateGap; } $filters = ''; foreach ($facetRequest->filters as $value) { $filters .= '&fq=' . $value; } - // echo "
";
 
         $resultFormat = '&wt=json';
 
diff --git a/workflow/engine/classes/FeaturesDetail.php b/workflow/engine/classes/FeaturesDetail.php
index ec8eaa9b0..058b434fc 100644
--- a/workflow/engine/classes/FeaturesDetail.php
+++ b/workflow/engine/classes/FeaturesDetail.php
@@ -1,7 +1,6 @@
 features[] = $addon->getAddonId();
-            $detail = new featuresDetail($addon->getAddonNick(), $addon->getAddonDescription());
+            $detail = new FeaturesDetail($addon->getAddonNick(), $addon->getAddonDescription());
             $this->featuresDetails[$addon->getAddonId()] = $detail;
         }
     }
diff --git a/workflow/engine/src/ProcessMaker/BusinessModel/Cases.php b/workflow/engine/src/ProcessMaker/BusinessModel/Cases.php
index 507654316..b832ce550 100644
--- a/workflow/engine/src/ProcessMaker/BusinessModel/Cases.php
+++ b/workflow/engine/src/ProcessMaker/BusinessModel/Cases.php
@@ -11,10 +11,6 @@ use wsBase;
 use RBAC;
 use Applications;
 
-/**
- * @author Brayan Pereyra (Cochalo) 
- * @copyright Colosa - Bolivia
- */
 class Cases
 {
     private $formatFieldNameInUppercase = true;