Fix edge cases in migrations.

pull/1/head
Matthew Chen 7 years ago committed by Matthew Chen
parent d2f2dd273a
commit 565743b66d

@ -69,12 +69,6 @@ NS_ASSUME_NONNULL_BEGIN
OWSAssert(migrations); OWSAssert(migrations);
OWSAssert(completion); OWSAssert(completion);
// TODO: Remove.
DDLogInfo(@"%@ Considering migrations: %zd", self.logTag, migrations.count);
for (OWSDatabaseMigration *migration in migrations) {
DDLogInfo(@"%@ Considering migrations: %@", self.logTag, migration.class);
}
// If there are no more migrations to run, complete. // If there are no more migrations to run, complete.
if (migrations.count < 1) { if (migrations.count < 1) {
dispatch_async(dispatch_get_main_queue(), ^{ dispatch_async(dispatch_get_main_queue(), ^{

Loading…
Cancel
Save