summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-11-11 14:00:34 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-11-11 14:00:34 (GMT)
commit24e55c6b7de4f63f38b7c923a9a20b886a784272 (patch)
tree627bc492917e08ecc75cd197c560819b1891de37
parentf10b57c49289f36f7aaa5b6795f1135ccda80619 (diff)
downloadkolab-utils-24e55c6b7de4f63f38b7c923a9a20b886a784272.tar.gz
There is only single user migration for google.
-rw-r--r--migrationutility/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/migrationutility/main.cpp b/migrationutility/main.cpp
index 9caf780..24d9ec2 100644
--- a/migrationutility/main.cpp
+++ b/migrationutility/main.cpp
@@ -158,9 +158,7 @@ int main(int argc, char *argv[])
source->setEncryption(KIMAP::LoginJob::AnySslVersion);
source->setAuthentication(KIMAP::LoginJob::ClearText);
source->setIgnoredFolders(QStringList() << QLatin1String("[Gmail]")); //ignore the virtual folders
- if (args->isSet("from-user")) {
- source->setSingleUser(args->getOption("from-user"));
- }
+ source->setSingleUser(args->getOption("from-user"));
sourceServer = source;
}
#endif //BUILD_GOOGLESUPPORT