mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-12-01 11:01:00 +01:00
Get the version as an array in RPC->checkforupdates.
This commit is contained in:
parent
031ee47a3e
commit
03400bd8d4
@ -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…
x
Reference in New Issue
Block a user