mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
plugins: Delete unused ensure
function
This commit is contained in:
parent
ac5614dadd
commit
9f575ebc84
1 changed files with 0 additions and 8 deletions
|
@ -13,14 +13,6 @@ var defs = require('./plugin_defs');
|
|||
|
||||
exports.prefix = 'ep_';
|
||||
|
||||
// @TODO RPB this appears to be unused
|
||||
exports.ensure = function (cb) {
|
||||
if (!defs.loaded)
|
||||
exports.update(cb);
|
||||
else
|
||||
cb();
|
||||
};
|
||||
|
||||
exports.formatPlugins = function () {
|
||||
return _.keys(defs.plugins).join(", ");
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue