Commit 8e667dad authored by lsmith's avatar lsmith

- s/query/exec

parent 3bc748c5
...@@ -114,7 +114,7 @@ class Doctrine_Cache_Query_Sqlite implements Countable ...@@ -114,7 +114,7 @@ class Doctrine_Cache_Query_Sqlite implements Countable
public function deleteAll() public function deleteAll()
{ {
$sql = "DELETE FROM ".self::CACHE_TABLE; $sql = "DELETE FROM ".self::CACHE_TABLE;
$stmt = $this->dbh->query($sql); $stmt = $this->dbh->exec($sql);
return $stmt->rowCount(); return $stmt->rowCount();
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment