1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 11:45:56 +00:00

move version-related stuff to Config; fix conditional feed requests

This commit is contained in:
Andrew Dolgov
2021-03-01 13:43:37 +03:00
parent 20a844085f
commit 320503dd39
11 changed files with 97 additions and 115 deletions

View File

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