Commit 1a52fe72 authored by chtito's avatar chtito

typo (might fix #236)

parent dcdc0495
......@@ -514,7 +514,7 @@ class Doctrine_Query extends Doctrine_Hydrate implements Countable {
{
switch($this->type) {
case self::DELETE:
if($this->conn->getName() == 'mysql')
if($this->conn->getName() == 'Mysql')
$q = 'DELETE '.end($this->tableAliases).' FROM ';
else
$q = 'DELETE FROM ';
......
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