Adding option to hide some elements in customer panel

This commit is contained in:
Michael Wyraz
2016-07-21 15:51:13 +02:00
parent 6589653667
commit 6ab8cb1d7c
6 changed files with 51 additions and 2 deletions

View File

@@ -561,7 +561,7 @@ INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES
('panel', 'password_special_char_required', '0'),
('panel', 'password_special_char', '!?<>§$%+#=@'),
('panel', 'version', '0.9.37-rc1'),
('panel', 'db_version', '201607140');
('panel', 'db_version', '201607210');
DROP TABLE IF EXISTS `panel_tasks`;

View File

@@ -3402,3 +3402,12 @@ if (isFroxlorVersion('0.9.36')) {
updateToVersion('0.9.37-rc1');
}
if (isDatabaseVersion('201607140')) {
showUpdateStep("Adding new setting to hide certain options in customer panel");
Settings::AddNew("panel.customer_hide_options", "");
lastStepStatus(0);
updateToDbVersion('201607210');
}