list_render: Remove redundant `list_render.delete` method.

This commit is contained in:
Shubham Dhama 2018-06-21 10:08:12 +05:30 committed by showell
parent 2aba7c239f
commit 92d843add9
1 changed files with 0 additions and 12 deletions

View File

@ -329,18 +329,6 @@ var list_render = (function () {
return DEFAULTS.instances[name] || false; return DEFAULTS.instances[name] || false;
}; };
// this can delete list render issues and free up memory if needed.
exports.delete = function (name) {
if (DEFAULTS.instances[name]) {
delete DEFAULTS.instances[name];
return true;
}
blueslip.error("The progressive list render instance with the name '" +
name + "' does not exist.");
return false;
};
return exports; return exports;
}()); }());