mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 18:46:01 +01:00
closes #2749
This commit is contained in:
@@ -130,4 +130,8 @@ module.exports = function(Plugins) {
|
||||
Plugins.isActive = function(id, callback) {
|
||||
db.isSortedSetMember('plugins:active', id, callback);
|
||||
};
|
||||
|
||||
Plugins.getActive = function(callback) {
|
||||
db.getSortedSetRange('plugins:active', 0, -1, callback);
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user