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

Cleaned up cache directory configuration.

parent ed93d99a
No related merge requests found
......@@ -60,7 +60,7 @@ class Solr extends AbstractBase
*
* @var string
*/
protected $cacheDir;
protected $cacheDir = null;
/**
* Constructor.
......@@ -75,7 +75,9 @@ class Solr extends AbstractBase
) {
$this->solr = $solr;
$this->driverFactory = $factory;
$this->cacheDir = rtrim($cacheDir, '/');
if (null !== $cacheDir) {
$this->cacheDir = rtrim($cacheDir, '/');
}
}
/**
......
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