summaryrefslogtreecommitdiff
path: root/classes/rpc.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2021-03-02 03:14:21 +0000
committerwn_ <[email protected]>2021-03-02 03:14:21 +0000
commit03400bd8d4bff005c6de6e75a05e6a57d445b401 (patch)
treea644e07aebf34f95d37918c8763d314426f42450 /classes/rpc.php
parent031ee47a3e3de0d86fd5f951af3a136d85b387c5 (diff)
Get the version as an array in RPC->checkforupdates.
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-xclasses/rpc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rpc.php b/classes/rpc.php
index 633e3a86e..0f08e78c7 100755
--- a/classes/rpc.php
+++ b/classes/rpc.php
@@ -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;