Commit a395c77d authored by Tristan Cavelier's avatar Tristan Cavelier

alldocs command added to revisionstorage.js

parent b3ae0524
......@@ -798,5 +798,22 @@ jIO.addStorageType('revision', function (spec, my) {
);
};
/**
* Get all documents
* @method allDocs
* @param {object} command The JIO command
*/
that.allDocs = function (command) {
setTimeout(function () {
that.error({
"status": 405,
"statusText": "Method Not Allowed",
"error": "method_not_allowed",
"message": "Your are not allowed to use this command",
"reason": "LocalStorage forbids AllDocs command executions"
});
});
};
return that;
});
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