// filename is the name of the file only, it does not include
// the configuration directory path
+// WARNING: Do not remove this code, it is used for predefined/automated deployments (2016)
Folder* FolderMan::setupFolderFromOldConfigFile(const QString &file, AccountState *accountState )
{
Folder *folder = 0;
//migrate settings
folder->journalDb()->setSelectiveSyncList(SyncJournalDb::SelectiveSyncBlackList, blackList);
settings.remove(QLatin1String("blackList"));
+ // FIXME: If you remove this codepath, you need to provide another way to do
+ // this via theme.h or the normal FolderMan::setupFolders
}
folder->saveToSettings();