v1.18.x
Julian Lam 11 years ago
parent 4353a9da25
commit 1e2100902c

@ -237,12 +237,15 @@ var fs = require('fs'),
// (De)activation Hooks // (De)activation Hooks
plugins.fireHook('action:plugin.' + (active ? 'de' : '') + 'activate', id); plugins.fireHook('action:plugin.' + (active ? 'de' : '') + 'activate', id);
if (callback) { // Reload meta data
callback({ plugins.reload(function() {
id: id, if (callback) {
active: !active callback({
}); id: id,
} active: !active
});
}
});
}); });
}); });
}, },

Loading…
Cancel
Save