]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/db.php
remove now unused bAsPoints in reverse API
[nominatim.git] / lib / db.php
index ab578e4b2673f73d00e2b526c304f42f1b08258c..cc84bf9bdaf71df7261aa393721e25c567771336 100644 (file)
@@ -4,7 +4,7 @@
        function &getDB($bNew = false, $bPersistent = false)
        {
                // Get the database object
-               $oDB =& DB::connect(CONST_Database_DSN.($bNew?'?new_link=true':''), $bPersistent);
+               $oDB = DB::connect(CONST_Database_DSN.($bNew?'?new_link=true':''), $bPersistent);
                if (PEAR::IsError($oDB))
                {
                        var_dump(CONST_Database_DSN);