Browse Source

clear code

Marino Faggiana 7 years ago
parent
commit
bc0399bd91
1 changed files with 1 additions and 19 deletions
  1. 1 19
      iOSClient/Networking/NCService.swift

+ 1 - 19
iOSClient/Networking/NCService.swift

@@ -23,7 +23,7 @@
 
 import Foundation
 
-class NCService: NSObject, OCNetworkingDelegate, CCLoginDelegate, CCLoginDelegateWeb {
+class NCService: NSObject, OCNetworkingDelegate {
     
     let appDelegate = UIApplication.shared.delegate as! AppDelegate
 
@@ -357,22 +357,4 @@ class NCService: NSObject, OCNetworkingDelegate, CCLoginDelegate, CCLoginDelegat
             }
         }
     }
-    
-    //MARK: -
-    //MARK: Delegate Login
-    
-    func loginSuccess(_ loginType: Int) {
-        
-        // go to home sweet home
-        NotificationCenter.default.post(name: NSNotification.Name(rawValue: "initializeMain"), object: nil)
-    }
-
-    func loginClose() {
-        appDelegate.activeLogin = nil
-    }
-    
-    func loginWebClose() {
-        appDelegate.activeLoginWeb = nil
-    }
-    
 }