Skip to content

Commit

Permalink
Update SQLiteStorage.php
Browse files Browse the repository at this point in the history
Missing execution on clean ALL
  • Loading branch information
stenlyk authored and dg committed Oct 15, 2014
1 parent 0809be0 commit 56ec8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Caching/Storages/SQLiteStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function remove($key)
public function clean(array $conditions)
{
if (!empty($conditions[Cache::ALL])) {
$this->pdo->prepare('DELETE FROM cache');
$this->pdo->prepare('DELETE FROM cache')->execute();

} elseif (!empty($conditions[Cache::TAGS])) {
$tags = (array) $conditions[Cache::TAGS];
Expand Down

0 comments on commit 56ec8da

Please sign in to comment.