]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/DB.php
checkModulePresence now raises exception instead of its callers
[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.
      *