diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2014-03-10 16:26:07 +0100 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2014-03-10 16:26:07 +0100 |
commit | 5e6f0dcc6d83ce319ea2685cedbc9b23c7f33c27 (patch) | |
tree | 62ecd568948f58f4c9efdf549d084c2e36b6dcec | |
parent | 01bcdf5b53d44510176ca1487116c171379def06 (diff) | |
download | nextcloud-server-5e6f0dcc6d83ce319ea2685cedbc9b23c7f33c27.tar.gz nextcloud-server-5e6f0dcc6d83ce319ea2685cedbc9b23c7f33c27.zip |
Fix copy/paste error
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index 78eeceb2b0c..841f3a769f1 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -663,7 +663,7 @@ if(typeof localStorage !=='undefined' && localStorage !== null){ return localStorage.setItem(OC.localStorage.namespace+name,JSON.stringify(item)); }, removeItem:function(name,item){ - return localStorage.removeItem(OC.localStorage.namespace+name,JSON.stringify(item)); + return localStorage.removeItem(OC.localStorage.namespace+name); }, getItem:function(name){ var item = localStorage.getItem(OC.localStorage.namespace+name); |