1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

removed ServerStatus.js

This commit is contained in:
kayone
2013-11-19 17:43:31 -08:00
parent ab4e1edac0
commit 6b418276b6
7 changed files with 32 additions and 60 deletions
+4 -4
View File
@@ -1,14 +1,14 @@
'use strict';
define(
[
'backbone'
], function (Backbone) {
'backbone',
'api!system/status'
], function (Backbone, statusData) {
var StatusModel = Backbone.Model.extend({
url: window.NzbDrone.ApiRoot + '/system/status'
});
var instance = new StatusModel();
instance.fetch();
var instance = new StatusModel(statusData);
return instance;
});