IOSAD-103 rm duplicate call to setupTrustWordsDB IOSAD-103
authorDirk Zimmermann <dirk@pep-project.org>
Wed, 31 Oct 2018 16:38:25 +0100
branchIOSAD-103
changeset 750c29db2e0851e
parent 749 fb20f6ea54ea
child 751 ac9e7fee47c2
IOSAD-103 rm duplicate call to setupTrustWordsDB
pEpObjCAdapter/PEPSync.m
     1.1 --- a/pEpObjCAdapter/PEPSync.m	Wed Oct 31 16:38:25 2018 +0100
     1.2 +++ b/pEpObjCAdapter/PEPSync.m	Wed Oct 31 16:38:25 2018 +0100
     1.3 @@ -112,8 +112,6 @@
     1.4  
     1.5  + (PEP_SESSION)createSession:(NSError **)error
     1.6  {
     1.7 -    [PEPSync setupTrustWordsDB];
     1.8 -
     1.9      PEP_SESSION session = NULL;
    1.10  
    1.11      [PEPLock lockWrite];
    1.12 @@ -180,14 +178,6 @@
    1.13      return s_pEpSync;
    1.14  }
    1.15  
    1.16 -+ (void)setupTrustWordsDB
    1.17 -{
    1.18 -    static dispatch_once_t once;
    1.19 -    dispatch_once(&once, ^{
    1.20 -        [PEPObjCAdapter setupTrustWordsDB:[NSBundle bundleForClass:[self class]]];
    1.21 -    });
    1.22 -}
    1.23 -
    1.24  - (void)syncThreadLoop:(id)object
    1.25  {
    1.26      [self.conditionLockForJoiningSyncThread lock];