Mercurial > kallithea
changeset 2781:d03d51b6541e beta
migration: set new UI options as in old version
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 02 Sep 2012 23:08:39 +0200 |
parents | d0d3158850d4 |
children | f9c685144aeb a93c07ade43a |
files | rhodecode/lib/db_manage.py |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/db_manage.py Sun Sep 02 22:17:21 2012 +0200 +++ b/rhodecode/lib/db_manage.py Sun Sep 02 23:08:39 2012 +0200 @@ -194,6 +194,14 @@ notify('re-checking permissions') self.klass.create_permissions() + notify('installing new UI options') + sett4 = RhodeCodeSetting('show_public_icon', True) + Session().add(sett4) + sett5 = RhodeCodeSetting('show_private_icon', True) + Session().add(sett5) + sett6 = RhodeCodeSetting('stylify_metatags', False) + Session().add(sett6) + notify('fixing old PULL hook') _pull = RhodeCodeUi.get_by_key('preoutgoing.pull_logger') if _pull: