aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.WebDashboard/ApiClient.js
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-06-23 11:02:53 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-06-23 11:02:53 -0400
commit189618a75159d604e425c9318984dc2d8a9cc3f9 (patch)
treea87beed88f3f90679b6178641a8469f4129986d7 /MediaBrowser.WebDashboard/ApiClient.js
parent0acc25735419b051c6f57a2c08b2ad6f3a969b83 (diff)
fixes #358 - Weather validation in Server configuration
Diffstat (limited to 'MediaBrowser.WebDashboard/ApiClient.js')
-rw-r--r--MediaBrowser.WebDashboard/ApiClient.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/MediaBrowser.WebDashboard/ApiClient.js b/MediaBrowser.WebDashboard/ApiClient.js
index 31d11c945..f047501d2 100644
--- a/MediaBrowser.WebDashboard/ApiClient.js
+++ b/MediaBrowser.WebDashboard/ApiClient.js
@@ -1246,24 +1246,6 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
};
/**
- * Gets weather info
- * @param {String} location - us zip code / city, state, country / city, country
- * Omit location to get weather info using stored server configuration value
- */
- self.getWeatherInfo = function (location) {
-
- var url = self.getUrl("weather", {
- location: location
- });
-
- return self.ajax({
- type: "GET",
- url: url,
- dataType: "json"
- });
- };
-
- /**
* Gets all users from the server
*/
self.getUsers = function () {