Commit 3b5f05f8 authored by Yaxel Perez's avatar Yaxel Perez

registered NoCapacityStorage with jio

parent dd9ca2df
...@@ -51,10 +51,6 @@ ...@@ -51,10 +51,6 @@
return this._sub_storage.get.apply(this._sub_storage, arguments); return this._sub_storage.get.apply(this._sub_storage, arguments);
}; };
NoCapacityStorage.prototype.allAttachments = function () {
return this._sub_storage.allAttachments.apply(this._sub_storage, arguments);
};
NoCapacityStorage.prototype.post = function () { NoCapacityStorage.prototype.post = function () {
return this._sub_storage.post.apply(this._sub_storage, arguments); return this._sub_storage.post.apply(this._sub_storage, arguments);
}; };
...@@ -67,20 +63,6 @@ ...@@ -67,20 +63,6 @@
return this._sub_storage.remove.apply(this._sub_storage, arguments); return this._sub_storage.remove.apply(this._sub_storage, arguments);
}; };
NoCapacityStorage.prototype.getAttachment = function () { jio.addStorage('nocapacity', NoCapacityStorage);
return this._sub_storage.getAttachment.apply(this._sub_storage, arguments);
};
NoCapacityStorage.prototype.putAttachment = function () {
return this._sub_storage.putAttachment.apply(this._sub_storage, arguments);
};
NoCapacityStorage.prototype.removeAttachment = function () {
return this._sub_storage.removeAttachment.apply(this._sub_storage, arguments);
};
NoCapacityStorage.prototype.repair = function () {
return this._sub_storage.repair.apply(this._sub_storage, arguments);
};
}); });
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