# HG changeset patch # User Marcin Kuzminski # Date 1346620119 -7200 # Node ID d03d51b6541e8b2d75dd4c34fc2a2767311ce6b4 # Parent d0d3158850d4dcc26ed76d2338cef6a589c35e38 migration: set new UI options as in old version diff -r d0d3158850d4 -r d03d51b6541e rhodecode/lib/db_manage.py --- 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: