mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Prep orphan data cleaner.
This commit is contained in:
parent
8ba747916a
commit
af3cff3399
|
@ -497,8 +497,6 @@ typedef void (^OrphanDataBlock)(OWSOrphanData *);
|
|||
OWSAssertIsOnMainThread();
|
||||
OWSAssertDebug(databaseConnection);
|
||||
|
||||
OWSLogVerbose(@"");
|
||||
|
||||
if (!AppReadiness.isAppReady) {
|
||||
OWSFailDebug(@"can't audit orphan data until app is ready.");
|
||||
return;
|
||||
|
@ -588,8 +586,6 @@ typedef void (^OrphanDataBlock)(OWSOrphanData *);
|
|||
OWSAssertDebug(databaseConnection);
|
||||
OWSAssertDebug(orphanData);
|
||||
|
||||
OWSLogVerbose(@"");
|
||||
|
||||
if (remainingRetries < 1) {
|
||||
OWSLogInfo(@"Aborting orphan data audit.");
|
||||
dispatch_async(self.workQueue, ^{
|
||||
|
@ -629,8 +625,6 @@ typedef void (^OrphanDataBlock)(OWSOrphanData *);
|
|||
OWSAssertDebug(databaseConnection);
|
||||
OWSAssertDebug(orphanData);
|
||||
|
||||
OWSLogVerbose(@"");
|
||||
|
||||
__block BOOL shouldAbort = NO;
|
||||
|
||||
// We need to avoid cleaning up new files that are still in the process of
|
||||
|
|
Loading…
Reference in a new issue