IOSAD-177 Remove PEPSync.restartIfRunning IOSAD-177
authorDirk Zimmermann <dz@pep.security>
Thu, 09 Jul 2020 17:23:34 +0200
branchIOSAD-177
changeset 16797b1774a9f873
parent 1678 cb99213e03d9
child 1680 914bafa5e6d3
IOSAD-177 Remove PEPSync.restartIfRunning
pEpObjCAdapter/PEPSync.m
pEpObjCAdapterFramework/PEPSync.h
     1.1 --- a/pEpObjCAdapter/PEPSync.m	Thu Jul 09 16:10:13 2020 +0200
     1.2 +++ b/pEpObjCAdapter/PEPSync.m	Thu Jul 09 17:23:34 2020 +0200
     1.3 @@ -195,14 +195,6 @@
     1.4      }
     1.5  }
     1.6  
     1.7 -- (void)restartIfRunning
     1.8 -{
     1.9 -    if (self.syncThread != nil) { // is running
    1.10 -        [self shutdown];
    1.11 -        [self startup];
    1.12 -    }
    1.13 -}
    1.14 -
    1.15  - (void)handleNewPassphraseConfigured {
    1.16      [self stopWaiting];
    1.17  }
     2.1 --- a/pEpObjCAdapterFramework/PEPSync.h	Thu Jul 09 16:10:13 2020 +0200
     2.2 +++ b/pEpObjCAdapterFramework/PEPSync.h	Thu Jul 09 17:23:34 2020 +0200
     2.3 @@ -48,7 +48,4 @@
     2.4   */
     2.5  - (void)shutdown;
     2.6  
     2.7 -/// Restart the sync loop if it is currently running, or don't do anything if not.
     2.8 -- (void)restartIfRunning;
     2.9 -
    2.10  @end