Merge pull request 'Get the version as an array in RPC->checkforupdates.' (#11) from wn/tt-rss:bugfix/checkforupdates-version into master

Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/11
This commit is contained in:
fox 2021-03-02 07:31:08 +03:00
commit cd504b0e60
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ class RPC extends Handler_Protected {
function checkforupdates() {
$rv = ["changeset" => [], "plugins" => []];
$version = Config::get_version();
$version = Config::get_version(false);
$git_timestamp = $version["timestamp"] ?? false;
$git_commit = $version["commit"] ?? false;