|
|
@ -237,6 +237,8 @@ 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);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Reload meta data
|
|
|
|
|
|
|
|
plugins.reload(function() {
|
|
|
|
if (callback) {
|
|
|
|
if (callback) {
|
|
|
|
callback({
|
|
|
|
callback({
|
|
|
|
id: id,
|
|
|
|
id: id,
|
|
|
@ -245,6 +247,7 @@ var fs = require('fs'),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
showInstalled: function(callback) {
|
|
|
|
showInstalled: function(callback) {
|
|
|
|
var _self = this;
|
|
|
|
var _self = this;
|
|
|
|