Mercurial > kallithea
comparison rhodecode/lib/db_manage.py @ 2782:f9c685144aeb
merge with beta
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 02 Sep 2012 23:09:00 +0200 |
parents | dd222038535d d03d51b6541e |
children | f7a52d548fd0 |
comparison
equal
deleted
inserted
replaced
2780:dd222038535d | 2782:f9c685144aeb |
---|---|
191 | 191 |
192 def step_6(self): | 192 def step_6(self): |
193 | 193 |
194 notify('re-checking permissions') | 194 notify('re-checking permissions') |
195 self.klass.create_permissions() | 195 self.klass.create_permissions() |
196 | |
197 notify('installing new UI options') | |
198 sett4 = RhodeCodeSetting('show_public_icon', True) | |
199 Session().add(sett4) | |
200 sett5 = RhodeCodeSetting('show_private_icon', True) | |
201 Session().add(sett5) | |
202 sett6 = RhodeCodeSetting('stylify_metatags', False) | |
203 Session().add(sett6) | |
196 | 204 |
197 notify('fixing old PULL hook') | 205 notify('fixing old PULL hook') |
198 _pull = RhodeCodeUi.get_by_key('preoutgoing.pull_logger') | 206 _pull = RhodeCodeUi.get_by_key('preoutgoing.pull_logger') |
199 if _pull: | 207 if _pull: |
200 _pull.ui_key = RhodeCodeUi.HOOK_PULL | 208 _pull.ui_key = RhodeCodeUi.HOOK_PULL |