mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 09:55:56 +00:00
API/getVersion: don't try to use removed VERSION constant
This commit is contained in:
@@ -40,7 +40,7 @@ class API extends Handler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getVersion() {
|
function getVersion() {
|
||||||
$rv = array("version" => VERSION);
|
$rv = array("version" => get_version());
|
||||||
$this->wrap(self::STATUS_OK, $rv);
|
$this->wrap(self::STATUS_OK, $rv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user