Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
MinimalController: Stop logging useragent string on every request
Browse files Browse the repository at this point in the history
  • Loading branch information
bsimpson63 committed Sep 21, 2016
1 parent 8f64789 commit 7eb3ab2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions r2/r2/controllers/reddit_base.py
Expand Up @@ -940,8 +940,6 @@ def pre(self):
# True/False forces. None updates for most non-POST requests
c.update_last_visit = None

g.stats.count_string('user_agents', request.user_agent)

if is_subdomain(request.host, g.oauth_domain):
self.check_cors()

Expand Down

0 comments on commit 7eb3ab2

Please sign in to comment.