public function remove($id)
{
$this->getDb()->beginTransaction();
try {
$this->getDb()->delete("cache", "id = " . $this->getDb()->quote($id));
$this->getDb()->delete("cache_tags", "id = '" . $id . "'");
$this->getDb()->commit();
} catch (\Exception $e) {
$this->getDb()->rollBack();
$this->truncate();
return false;
}
return true;
}