HOR-2689 Removed references to G::LoadClass, Bootstrap::LoadClass and various references to class loading methods and require_once
This commit is contained in:
committed by
davidcallizaya
parent
d72b7aa561
commit
60efcf7ac7
@@ -294,8 +294,6 @@ class BpmnEngine_Services_SearchIndex
|
||||
*/
|
||||
public function updateIndexDocument($solrUpdateDocumentEntity)
|
||||
{
|
||||
G::LoadClass ('solr');
|
||||
|
||||
$solr = new BpmnEngine_SearchIndexAccess_Solr ($this->_solrIsEnabled, $this->_solrHost);
|
||||
|
||||
// create list of facets
|
||||
@@ -309,8 +307,6 @@ class BpmnEngine_Services_SearchIndex
|
||||
*/
|
||||
public function deleteDocumentFromIndex($workspace, $idQuery)
|
||||
{
|
||||
G::LoadClass ('solr');
|
||||
|
||||
$solr = new BpmnEngine_SearchIndexAccess_Solr ($this->_solrIsEnabled, $this->_solrHost);
|
||||
|
||||
// create list of facets
|
||||
@@ -323,8 +319,6 @@ class BpmnEngine_Services_SearchIndex
|
||||
*/
|
||||
public function commitIndexChanges($workspace)
|
||||
{
|
||||
G::LoadClass ('solr');
|
||||
|
||||
$solr = new BpmnEngine_SearchIndexAccess_Solr ($this->_solrIsEnabled, $this->_solrHost);
|
||||
|
||||
// commit
|
||||
@@ -337,8 +331,6 @@ class BpmnEngine_Services_SearchIndex
|
||||
*/
|
||||
public function optimizeIndexChanges($workspace)
|
||||
{
|
||||
G::LoadClass ('solr');
|
||||
|
||||
$solr = new BpmnEngine_SearchIndexAccess_Solr ($this->_solrIsEnabled, $this->_solrHost);
|
||||
|
||||
// commit
|
||||
|
||||
Reference in New Issue
Block a user