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
master
fox 4 years ago
commit cd504b0e60

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

Loading…
Cancel
Save