]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/DB.php
Merge pull request #1358 from mtmail/travis-php-7dot1
[nominatim.git] / lib / DB.php
index 033e23f7f593512229cc3e6752a6031090ca4962..17dfe67d3a9e02a02fba8e5c6fd26e070d7fe235 100644 (file)
@@ -229,12 +229,6 @@ class DB
         return 'ARRAY['.join(',', $a).']';
     }
 
-    public function getLastError()
-    {
-        // https://secure.php.net/manual/en/pdo.errorinfo.php
-        return $this->connection->errorInfo();
-    }
-
     /**
      * Check if a table exists in the database. Returns true if it does.
      *