]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/Status.php
Merge pull request #2284 from lonvia/cleanup-word-frequency-computation
[nominatim.git] / lib-php / Status.php
index a276c4d5faa2c8ffe6d2bb672a5085c384ddd393..2d9e78db42606f59a90cb2d6e18ad4d8774a6a2e 100644 (file)
@@ -56,4 +56,10 @@ class Status
 
         return $iDataDateEpoch;
     }
+
+    public function databaseVersion()
+    {
+        $sSQL = 'SELECT value FROM nominatim_properties WHERE property = \'database_version\'';
+        return $this->oDB->getOne($sSQL);
+    }
 }