From 48e649439b42a56ba814edaa43e9f337a0b92530 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 13 Jul 2017 16:17:56 +0200 Subject: [PATCH] SelfServiceSettings: comment for future settings --- application/forms/SelfServiceSettingsForm.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/application/forms/SelfServiceSettingsForm.php b/application/forms/SelfServiceSettingsForm.php index 5935d431..b5da9913 100644 --- a/application/forms/SelfServiceSettingsForm.php +++ b/application/forms/SelfServiceSettingsForm.php @@ -193,6 +193,23 @@ class SelfServiceSettingsForm extends DirectorForm ), 'required' => true, ]); + /* + * TODO: eventually add those: + if ($settings->get('self-service/install_nsclient') === 'y') { + $params['install_nsclient'] = true; + $this->addBooleanSettingsToParams($settings, [ + 'nsclient_add_defaults', + 'nsclient_firewall', + 'nsclient_service', + ], $params); + + + $this->addStringSettingsToParams($settings, [ + 'nsclient_directory', + 'nsclient_installer_path' + ], $params); + } + */ } public static function create(Db $db, Settings $settings)