Commit 3b79401b authored by Lukas Kahwe Smith's avatar Lukas Kahwe Smith

WS fixes

parent e9ab5672
......@@ -128,7 +128,6 @@ DROP DATABASE ' . $name . ';';
public function getDropIndexSQL($index, $table=null)
{
if($index instanceof \Doctrine\DBAL\Schema\Index) {
$index_ = $index;
$index = $index->getName();
} else if(!is_string($index)) {
throw new \InvalidArgumentException('AbstractPlatform::getDropIndexSQL() expects $index parameter to be string or \Doctrine\DBAL\Schema\Index.');
......
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