X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6a7e0d652b1d40a397e1c1386d500101796676c4..6e908fb81c5a1d66e80d71c7b4676cacb1d8e801:/lib-php/Status.php?ds=sidebyside diff --git a/lib-php/Status.php b/lib-php/Status.php index a276c4d5..2d9e78db 100644 --- a/lib-php/Status.php +++ b/lib-php/Status.php @@ -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); + } }