No need to return anything.
authorJan Schneider <jan@horde.org>
Thu, 23 Dec 2010 16:19:43 +0000 (17:19 +0100)
committerJan Schneider <jan@horde.org>
Thu, 23 Dec 2010 16:20:28 +0000 (17:20 +0100)
framework/Db/lib/Horde/Db/Migration/Migrator.php

index 30bf5cb..ce25e99 100644 (file)
@@ -241,7 +241,7 @@ class Horde_Db_Migration_Migrator
             $schemaTable = $this->_connection->createTable($this->_schemaTableName, array('primaryKey' => false));
             $schemaTable->column('version', 'integer');
             $schemaTable->end();
-            return $this->_connection->insert('INSERT INTO ' . $this->_schemaTableName . ' (version) VALUES (0)');
+            $this->_connection->insert('INSERT INTO ' . $this->_schemaTableName . ' (version) VALUES (0)');
         } catch (Exception $e) {}
     }