Skip to content

Commit 5ec03cb

Browse files
authored
Merge pull request #7 from rennokki/hotfix/fix-avoid-cache
[hotfix] Fix avoid cache disabled by default
2 parents 98331a7 + 03382cb commit 5ec03cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Query/Builder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class Builder extends BaseBuilder
5151
*
5252
* @var bool
5353
*/
54-
protected $avoidCache = false;
54+
protected $avoidCache = true;
5555

5656
/**
5757
* {@inheritdoc}
@@ -227,6 +227,7 @@ protected function getCache()
227227
public function cacheFor($time)
228228
{
229229
$this->cacheTime = $time;
230+
$this->avoidCache = false;
230231

231232
return $this;
232233
}

0 commit comments

Comments
 (0)