API/getVersion: don't try to use removed VERSION constant
This commit is contained in:
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…
Reference in New Issue