CmisSync.Lib.Sync.ConfigMigration.Migrate C# (CSharp) Method

Migrate() public static method

Migrate from the config.xml format of CmisSync 0.3.9 to the current format, if necessary.
public static Migrate ( ) : void
return void
        public static void Migrate()
        {
            // If file does not exist yet, no need for migration.
            if (!File.Exists(ConfigManager.CurrentConfigFile))
                return;
            // Replace uppercase notification boolean to lower case
            ReplaceCaseSensitiveNotification();
            // Replace XML root element from <sparkleshare> to <CmisSync>
            ReplaceXMLRootElement();
            CheckForDuplicatedLog4NetElement();
        }