aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.WebDashboard/ApiClient.js
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.WebDashboard/ApiClient.js')
-rw-r--r--MediaBrowser.WebDashboard/ApiClient.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/MediaBrowser.WebDashboard/ApiClient.js b/MediaBrowser.WebDashboard/ApiClient.js
index 6228c9106..7a2fae3e9 100644
--- a/MediaBrowser.WebDashboard/ApiClient.js
+++ b/MediaBrowser.WebDashboard/ApiClient.js
@@ -637,10 +637,9 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
};
/**
- * Instructs the server to perform a pending kernel reload or app restart.
- * If a restart is not currently required, nothing will happen.
+ * Instructs the server to perform a restart.
*/
- self.performPendingRestart = function () {
+ self.restartServer = function () {
var url = self.getUrl("System/Restart");