API/getVersion: don't try to use removed VERSION constant

master
Andrew Dolgov 5 years ago
parent 67c7b6ef53
commit b1c5ebdace

@ -40,7 +40,7 @@ class API extends Handler {
}
function getVersion() {
$rv = array("version" => VERSION);
$rv = array("version" => get_version());
$this->wrap(self::STATUS_OK, $rv);
}

Loading…
Cancel
Save