Commit 69934854 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 82e7d88b
...@@ -311,7 +311,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable ...@@ -311,7 +311,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
$this->conn->export->createTable($this->options['tableName'], $columns, array_merge($this->options, $options)); $this->conn->export->createTable($this->options['tableName'], $columns, array_merge($this->options, $options));
} catch(Doctrine_Connection_Exception $e) { } catch(Doctrine_Connection_Exception $e) {
// we only want to silence table already exists errors // we only want to silence table already exists errors
if($e->getPortableCode !== Doctrine::ERR_ALREADY_EXISTS) { if($e->getPortableCode() !== Doctrine::ERR_ALREADY_EXISTS) {
throw $e; throw $e;
} }
} }
......
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