From: Diogo Franco (Kovensky) Date: Sun, 14 Jul 2013 17:55:31 +0000 (-0300) Subject: anidb: Remove (*AniDB).ReAuth() method X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=417eb1bc5f18f6b74d43b1e9dc98eb92bfb1dc86;p=go-anidb.git anidb: Remove (*AniDB).ReAuth() method --- diff --git a/auth.go b/auth.go index 1b3fe23..25ac3da 100644 --- 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?