Browse Source

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

B. Petersen 4 năm trước cách đây
mục cha
commit
22fc21f198
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  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)