summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-11-11 15:19:09 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-11-11 15:19:09 (GMT)
commitbb70af914b7080e5a6a11b20bfe0873b84d01aea (patch)
treeb2b761d1f9f5dc698c1949a65a9badb7a759df30
parent5d0ad7df4185f9720ddf5dbaa1d4b815ea73675e (diff)
downloadkolab-utils-bb70af914b7080e5a6a11b20bfe0873b84d01aea.tar.gz
Don't start a migrate folder job for nothing.
-rw-r--r--migrationutility/migrateuserjob.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/migrationutility/migrateuserjob.cpp b/migrationutility/migrateuserjob.cpp
index 3b894a9..a4cf4ed 100644
--- a/migrationutility/migrateuserjob.cpp
+++ b/migrationutility/migrateuserjob.cpp
@@ -117,6 +117,7 @@ void MigrateUserJob::migrateNextFolder()
Debug() << "Skipping source folder: " << mCurrentFolder;
mCurrentFolder.clear();
migrateNextFolder();
+ return;
}
MigrateFolderJob *job = new MigrateFolderJob(mCurrentFolder, mCurrentSourceAccount, mKolabAccount, this);