Fixed segment cache repository
This commit is contained in:
@@ -44,7 +44,8 @@ class CacheRepository implements RepositoryInterface
|
|||||||
*/
|
*/
|
||||||
public function fetch()
|
public function fetch()
|
||||||
{
|
{
|
||||||
// We might not be setup yet.
|
$writeKey = null;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Firstly, does the setting exist?
|
// Firstly, does the setting exist?
|
||||||
if (null === ($writeKey = Setting::get('segment_write_key'))) {
|
if (null === ($writeKey = Setting::get('segment_write_key'))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user