Mercurial > kallithea
diff rhodecode/controllers/admin/settings.py @ 3910:36f7562a5919 beta
Implements #842 RhodeCode version disclosure.
- it's now implemented as visual option in settings
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 28 May 2013 23:12:31 +0200 |
parents | fe053a42c4ce |
children | 985db7f7b9b2 |
line wrap: on
line diff
--- a/rhodecode/controllers/admin/settings.py Tue May 28 23:02:02 2013 +0200 +++ b/rhodecode/controllers/admin/settings.py Tue May 28 23:12:31 2013 +0200 @@ -209,6 +209,11 @@ form_result['rhodecode_dashboard_items'] Session().add(sett5) + sett6 = RhodeCodeSetting.get_by_name_or_create('show_version') + sett6.app_settings_value = \ + form_result['rhodecode_show_version'] + Session().add(sett6) + Session().commit() set_rhodecode_config(config) h.flash(_('Updated visualisation settings'),