Get the version as an array in RPC->checkforupdates.

This commit is contained in:
wn_ 2021-03-02 03:14:21 +00:00
parent 031ee47a3e
commit 03400bd8d4
1 changed files with 1 additions and 1 deletions

View File

@ -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;