Commit 24401987 authored by Tristan Cavelier's avatar Tristan Cavelier

Removing old methods {save,load,remove}Document and getDocumentList from storage.js

parent 112208d2
...@@ -60,20 +60,6 @@ var storage = function(spec, my) { ...@@ -60,20 +60,6 @@ var storage = function(spec, my) {
return {type:that.getType()}; return {type:that.getType()};
}; };
that.saveDocument = function(command) {
that.error({status:0,statusText:'Unknown storage',
error:'unknown_storage',message:'Unknown Storage'});
};
that.loadDocument = function(command) {
that.saveDocument();
};
that.removeDocument = function(command) {
that.saveDocument();
};
that.getDocumentList = function(command) {
that.saveDocument();
};
/** /**
* Validate the storage state. It returns a empty string all is ok. * Validate the storage state. It returns a empty string all is ok.
* @method validateState * @method validateState
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment