diff --git a/godoc/dl/dl.go b/godoc/dl/dl.go index b4230b61..3d2f6c46 100644 --- a/godoc/dl/dl.go +++ b/godoc/dl/dl.go @@ -32,7 +32,6 @@ import ( "google.golang.org/appengine/datastore" "google.golang.org/appengine/log" "google.golang.org/appengine/memcache" - "google.golang.org/appengine/user" ) const ( @@ -183,7 +182,6 @@ var featuredFiles = []Feature{ type listTemplateData struct { Featured []Feature Stable, Unstable, Archive []Release - LoginURL string } var ( @@ -218,11 +216,6 @@ func listHandler(w http.ResponseWriter, r *http.Request) { d.Featured = filesToFeatured(d.Stable[0].Files) } - d.LoginURL, _ = user.LoginURL(c, "/dl") - if user.Current(c) != nil { - d.LoginURL, _ = user.LogoutURL(c, "/dl") - } - item := &memcache.Item{Key: cacheKey, Object: &d, Expiration: cacheDuration} if err := memcache.Gob.Set(c, item); err != nil { log.Errorf(c, "cache set error: %v", err) diff --git a/godoc/dl/tmpl.go b/godoc/dl/tmpl.go index e92f9b76..440917ab 100644 --- a/godoc/dl/tmpl.go +++ b/godoc/dl/tmpl.go @@ -106,7 +106,7 @@ please follow the installation instructions.

-If you are building from source, +If you are building from source, follow the source installation instructions.

@@ -146,13 +146,6 @@ information about Go releases. {{end}} - - -