Fixed segment cache repository

This commit is contained in:
Graham Campbell
2015-05-28 20:02:15 +01:00
parent 99e6f5a234
commit 9355854289

View File

@@ -44,7 +44,8 @@ class CacheRepository implements RepositoryInterface
*/
public function fetch()
{
// We might not be setup yet.
$writeKey = null;
try {
// Firstly, does the setting exist?
if (null === ($writeKey = Setting::get('segment_write_key'))) {