Browse Source

remove unused importAccount() api that will probably be removed from core anyway

B. Petersen 4 years ago
parent
commit
22fc21f198
1 changed files with 0 additions and 4 deletions
  1. 0 4
      DcCore/DcCore/DC/Wrapper.swift

+ 0 - 4
DcCore/DcCore/DC/Wrapper.swift

@@ -64,10 +64,6 @@ public class DcAccounts {
         return dc_accounts_remove_account(accountsPointer, UInt32(id)) == 1
     }
 
-    public func importAccount(filePath: String) -> Int {
-        return Int(dc_accounts_import_account(accountsPointer, filePath))
-    }
-
     public func getEventEmitter() -> DcAccountsEventEmitter {
         let eventEmitterPointer = dc_accounts_get_event_emitter(accountsPointer)
         return DcAccountsEventEmitter(eventEmitterPointer: eventEmitterPointer)