- s/query/exec
This commit is contained in:
parent
3bc748c5f4
commit
8e667dade3
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class Doctrine_Cache_Query_Sqlite implements Countable
|
|||
public function deleteAll()
|
||||
{
|
||||
$sql = "DELETE FROM ".self::CACHE_TABLE;
|
||||
$stmt = $this->dbh->query($sql);
|
||||
$stmt = $this->dbh->exec($sql);
|
||||
return $stmt->rowCount();
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue