[icinga-checkins] icinga.org: icinga-web/mhein/default: * Removed old session provider

git at icinga.org git at icinga.org
Tue Apr 6 13:10:39 CEST 2010


Module: icinga-web
Branch: mhein/default
Commit: 43f7c08a332165c34c90122bdd7f944b37d64d51
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=43f7c08a332165c34c90122bdd7f944b37d64d51

Author: Marius Hein <marius.hein at netways.de>
Date:   Tue Apr  6 13:10:29 2010 +0200

* Removed old session provider

---

 lib/appkit/js/SessionProvider.js     |   38 ----------------------------------
 lib/appkit/js/ext/SessionProvider.js |   38 ----------------------------------
 2 files changed, 0 insertions(+), 76 deletions(-)

diff --git a/lib/appkit/js/SessionProvider.js b/lib/appkit/js/SessionProvider.js
deleted file mode 100755
index 575cf52..0000000
--- a/lib/appkit/js/SessionProvider.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/*!
- * Ext JS Library 3.0.0
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing at extjs.com
- * http://www.extjs.com/license
- */
-Ext.state.SessionProvider = Ext.extend(Ext.state.CookieProvider, {
-    readCookies : function() {
-        if(this.state){
-        	
-//        	console.log("--- READ STATE START ---");
-        	
-//        	console.log(this.state);
-        	
-            for(var k in this.state){
-                if(typeof this.state[k] == 'string'){
-//                	console.log(this.state[k])
-                    this.state[k] = this.decodeValue(this.state[k]);
-                }
-            }
-            
-//            console.log("--- READ STATE STOP ---");
-            
-        }
-        
-        
-        return Ext.apply(this.state || {}, Ext.state.SessionProvider.superclass.readCookies.call(this));
-    },
-
-	encodeValue : function(v) {
-		return Ext.util.JSON.encode(v);
-	},
-	
-	decodeValue : function(v) {
-		return Ext.util.JSON.decode(v);
-	}
-
-});
\ No newline at end of file
diff --git a/lib/appkit/js/ext/SessionProvider.js b/lib/appkit/js/ext/SessionProvider.js
deleted file mode 100755
index 575cf52..0000000
--- a/lib/appkit/js/ext/SessionProvider.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/*!
- * Ext JS Library 3.0.0
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing at extjs.com
- * http://www.extjs.com/license
- */
-Ext.state.SessionProvider = Ext.extend(Ext.state.CookieProvider, {
-    readCookies : function() {
-        if(this.state){
-        	
-//        	console.log("--- READ STATE START ---");
-        	
-//        	console.log(this.state);
-        	
-            for(var k in this.state){
-                if(typeof this.state[k] == 'string'){
-//                	console.log(this.state[k])
-                    this.state[k] = this.decodeValue(this.state[k]);
-                }
-            }
-            
-//            console.log("--- READ STATE STOP ---");
-            
-        }
-        
-        
-        return Ext.apply(this.state || {}, Ext.state.SessionProvider.superclass.readCookies.call(this));
-    },
-
-	encodeValue : function(v) {
-		return Ext.util.JSON.encode(v);
-	},
-	
-	decodeValue : function(v) {
-		return Ext.util.JSON.decode(v);
-	}
-
-});
\ No newline at end of file





More information about the icinga-checkins mailing list