filter:group.update

v1.18.x
Timothy Fike 9 years ago committed by GitHub
parent 58ab76d3c2
commit e112d284e5

@ -17,6 +17,14 @@ module.exports = function(Groups) {
return callback(err || new Error('[[error:no-group]]'));
}
plugins.fireHook('filter:group.update', {
groupName: groupName,
values: values
}, function(err) {
if (err) {
return callback(err);
}
var payload = {
description: values.description || '',
icon: values.icon || '',
@ -67,6 +75,7 @@ module.exports = function(Groups) {
callback();
});
});
});
};
function updateVisibility(groupName, hidden, callback) {

Loading…
Cancel
Save