/configclients:

- Re-enable plugin installation by default
 - Don't show configuration section or update-all button if no plugins installed
This commit is contained in:
zzz
2014-08-30 16:14:41 +00:00
parent 2302aee819
commit 8a7c3390f5
3 changed files with 41 additions and 11 deletions

View File

@ -59,7 +59,7 @@ public class ConfigClientsHandler extends FormHandler {
}
if (_action.equals(_("Install Plugin"))) {
if (pluginsEnabled &&
(_context.getBooleanProperty(ConfigClientsHelper.PROP_ENABLE_PLUGIN_INSTALL) ||
(_context.getBooleanPropertyDefaultTrue(ConfigClientsHelper.PROP_ENABLE_PLUGIN_INSTALL) ||
isAdvanced()))
installPlugin();
else