Remove hardcoded commit statements for pg installer.
[lhc/web/wiklou.git] / includes / installer / PostgresUpdater.php
index 2c9c059..8c4af49 100644 (file)
@@ -431,8 +431,9 @@ END;
                                }
                                $sql .= " USING $default";
                        }
-                       $sql .= ";\nCOMMIT;\n";
+                       $this->db->begin( __METHOD__ );
                        $this->db->query( $sql );
+                       $this->db->commit( __METHOD__ );
                }
        }