mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-10 06:36:16 +02:00
plugins: Delete unused ensure function
This commit is contained in:
parent
ac5614dadd
commit
9f575ebc84
@ -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…
x
Reference in New Issue
Block a user