Skip to content
This repository
Browse code

Revert "Log when a thing is thrown out in UserController."

This reverts commit ca39ec4.
  • Loading branch information...
commit db4071fcf57e4656ab9c0d9599482edd832ca19c 1 parent 3a936b3
Neil Williams spladug authored

Showing 1 changed file with 0 additions and 9 deletions. Show diff stats Hide diff stats

  1. +0 9 r2/r2/controllers/listingcontroller.py
9 r2/r2/controllers/listingcontroller.py
@@ -534,19 +534,10 @@ def keep(item):
534 534 wouldkeep = (item._date > utils.timeago('1 %s' % str(self.time)))
535 535 if c.user == self.vuser:
536 536 if not item.likes and self.where == 'liked':
537   - g.log.warning("unliked thing %s on liked page for %s",
538   - item.fullname,
539   - self.vuser.name)
540 537 return False
541 538 if item.likes is not False and self.where == 'disliked':
542   - g.log.warning("undisliked thing %s on disliked page for %s",
543   - item.fullname,
544   - self.vuser.name)
545 539 return False
546 540 if self.where == 'saved' and not item.saved:
547   - g.log.warning("unsaved thing %s on saved page for %s",
548   - item.fullname,
549   - self.vuser.name)
550 541 return False
551 542 return wouldkeep and (getattr(item, "promoted", None) is None and
552 543 (self.where == "deleted" or

0 comments on commit db4071f

Please sign in to comment.
Something went wrong with that request. Please try again.