Changeset - d03d51b6541e
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-09-02 23:08:39
marcin@python-works.com
migration: set new UI options as in old version
1 file changed with 8 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/db_manage.py
Show inline comments
 
@@ -194,6 +194,14 @@ class DbManage(object):
 
                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:
0 comments (0 inline, 0 general)