v1.18.x
Julian Lam 10 years ago
parent 2d79169855
commit ae1528dc7e

@ -49,7 +49,7 @@ adminController.home = function(req, res, next) {
},
notices: function(next) {
var notices = [
{done: !meta.restartRequired, doneText: 'Restart not required', notDoneText:'Restart required'},
{done: !meta.reloadRequired, doneText: 'Reload not required', notDoneText:'Reload required'},
{done: plugins.hasListeners('action:email.send'), doneText: 'Emailer Installed', notDoneText:'Emailer not installed'},
{done: plugins.hasListeners('filter:search.query'), doneText: 'Search Plugin Installed', notDoneText:'Search Plugin not installed'}
];

@ -11,7 +11,7 @@ var async = require('async'),
auth = require('./routes/authentication');
(function (Meta) {
Meta.restartRequired = false;
Meta.reloadRequired = false;
require('./meta/configs')(Meta);
require('./meta/themes')(Meta);

@ -98,7 +98,7 @@ module.exports = function(Meta) {
}
], callback);
Meta.restartRequired = true;
Meta.reloadRequired = true;
break;
case 'bootswatch':

@ -494,7 +494,7 @@ var fs = require('fs'),
return callback(err);
}
meta.restartRequired = true;
meta.reloadRequired = true;
if (active) {
Plugins.fireHook('action:plugin.deactivate', id);

Loading…
Cancel
Save