Skip to content
Snippets Groups Projects
Commit 3f629341 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

call some upgrade config function that were not in 0.12.5 and are needed for 0.13

parent 90fd7f6e
No related branches found
No related tags found
No related merge requests found
......@@ -201,6 +201,7 @@ class OptionsParser:
if old < [0, 12, 3, 1] and new >= [0, 12, 3, 1]:
self.update_config_to_01231()
if old < [0, 12, 5, 1] and new >= [0, 12, 5, 1]:
self.update_config_from_0125()
self.update_config_to_01251()
if old < [0, 12, 5, 2] and new >= [0, 12, 5, 2]:
self.update_config_to_01252()
......@@ -718,6 +719,14 @@ class OptionsParser:
con.close()
gajim.config.set('version', '0.12.3.1')
def update_config_from_0125(self):
# All those functions need to be called for 0.12.5 to 0.13 transition
self.update_config_to_01211()
self.update_config_to_01213()
self.update_config_to_01214()
self.update_config_to_01215()
self.update_config_to_01231()
def update_config_to_01251(self):
back = os.getcwd()
os.chdir(logger.LOG_DB_FOLDER)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment