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, "
";
$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;