Skip to content

Commit 56ec8da

Browse files
stenlykdg
authored andcommitted
Update SQLiteStorage.php
Missing execution on clean ALL
1 parent 0809be0 commit 56ec8da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Caching/Storages/SQLiteStorage.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function remove($key)
111111
public function clean(array $conditions)
112112
{
113113
if (!empty($conditions[Cache::ALL])) {
114-
$this->pdo->prepare('DELETE FROM cache');
114+
$this->pdo->prepare('DELETE FROM cache')->execute();
115115

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

0 commit comments

Comments
 (0)