From db4071fcf57e4656ab9c0d9599482edd832ca19c Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Mon, 7 May 2012 20:50:21 -0700 Subject: [PATCH] Revert "Log when a thing is thrown out in UserController." This reverts commit ca39ec469f9832c7baedf4c651757587d5055210. --- r2/r2/controllers/listingcontroller.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/r2/r2/controllers/listingcontroller.py b/r2/r2/controllers/listingcontroller.py index 329865888..b8f12585a 100755 --- a/r2/r2/controllers/listingcontroller.py +++ b/r2/r2/controllers/listingcontroller.py @@ -534,19 +534,10 @@ class UserController(ListingController): wouldkeep = (item._date > utils.timeago('1 %s' % str(self.time))) if c.user == self.vuser: if not item.likes and self.where == 'liked': - g.log.warning("unliked thing %s on liked page for %s", - item.fullname, - self.vuser.name) return False if item.likes is not False and self.where == 'disliked': - g.log.warning("undisliked thing %s on disliked page for %s", - item.fullname, - self.vuser.name) return False if self.where == 'saved' and not item.saved: - g.log.warning("unsaved thing %s on saved page for %s", - item.fullname, - self.vuser.name) return False return wouldkeep and (getattr(item, "promoted", None) is None and (self.where == "deleted" or