]> git.lizzy.rs Git - go-anidb.git/commitdiff
anidb: Remove (*AniDB).ReAuth() method
authorDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Sun, 14 Jul 2013 17:55:31 +0000 (14:55 -0300)
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Sun, 14 Jul 2013 17:55:31 +0000 (14:55 -0300)
auth.go

diff --git a/auth.go b/auth.go
index 1b3fe234df882466029b32deeb3388dca42695aa..25ac3da84955fb990db65a541dc45018df29d567 100644 (file)
--- a/auth.go
+++ b/auth.go
@@ -83,11 +83,6 @@ func newCredentials(username, password, udpKey string) *credentials {
        }
 }
 
-// Re-authenticates the current user. Do not use unless really necessary.
-func (a *AniDB) ReAuth() error {
-       return a.udp.ReAuth()
-}
-
 func (udp *udpWrap) ReAuth() error {
        if c := udp.credentials; c != nil {
                defer runtime.GC() // any better way to clean the plaintexts?