summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xclasses/rpc.php3
-rw-r--r--js/App.js15
2 files changed, 7 insertions, 11 deletions
diff --git a/classes/rpc.php b/classes/rpc.php
index 2cc2e3879..8945823c6 100755
--- a/classes/rpc.php
+++ b/classes/rpc.php
@@ -99,9 +99,6 @@ class RPC extends Handler_Protected {
'seq' => $seq
];
- if ($seq % 2)
- $reply['runtime-info'] = $this->make_runtime_info();
-
print json_encode($reply);
}
diff --git a/js/App.js b/js/App.js
index 3c940d8a6..67d932369 100644
--- a/js/App.js
+++ b/js/App.js
@@ -714,11 +714,6 @@ const App = {
App.updateRuntimeInfo();
});
- if (!this.getInitParam("bw_limit"))
- window.setInterval(() => {
- App.updateRuntimeInfo();
- }, 60 * 1000)
-
} else {
Feeds.reload();
@@ -772,12 +767,16 @@ const App = {
}, 3600 * 1000);
}
- console.log("second stage ok");
-
PluginHost.run(PluginHost.HOOK_INIT_COMPLETE, null);
-
}
+ if (!this.getInitParam("bw_limit"))
+ window.setInterval(() => {
+ App.updateRuntimeInfo();
+ }, 60 * 1000)
+
+ console.log("second stage ok");
+
},
checkForUpdates: function() {
console.log('checking for updates...');