Skip to content
Snippets Groups Projects
Commit b7573990 authored by Demian Katz's avatar Demian Katz
Browse files

Remove hard-coded config name.

parent a39b0775
No related merge requests found
...@@ -61,7 +61,7 @@ class SolrDefaultBackendFactory extends AbstractSolrBackendFactory ...@@ -61,7 +61,7 @@ class SolrDefaultBackendFactory extends AbstractSolrBackendFactory
*/ */
protected function getSolrCore() protected function getSolrCore()
{ {
$config = $this->config->get('config'); $config = $this->config->get($this->mainConfig);
return isset($config->Index->default_core) return isset($config->Index->default_core)
? $config->Index->default_core : 'biblio'; ? $config->Index->default_core : 'biblio';
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment