summaryrefslogtreecommitdiffstats
path: root/module/web/app/scripts/models/UserSession.js
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/app/scripts/models/UserSession.js')
-rw-r--r--module/web/app/scripts/models/UserSession.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/module/web/app/scripts/models/UserSession.js b/module/web/app/scripts/models/UserSession.js
deleted file mode 100644
index a7e9aa848..000000000
--- a/module/web/app/scripts/models/UserSession.js
+++ /dev/null
@@ -1,20 +0,0 @@
-define(['jquery', 'backbone', 'underscore', 'utils/apitypes', 'cookie'],
- function($, Backbone, _, Api) {
- 'use strict';
-
- return Backbone.Model.extend({
-
- idAttribute: 'username',
-
- defaults: {
- username: null,
- permissions: null,
- session: null
- },
-
- // Model Constructor
- initialize: function() {
- this.set('session', $.cookie('beaker.session.id'));
- }
- });
- }); \ No newline at end of file