Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

This reverts commit ca39ec4.
  • Loading branch information...
commit db4071fcf57e4656ab9c0d9599482edd832ca19c 1 parent 3a936b3
@spladug spladug authored
Showing with 0 additions and 9 deletions.
  1. +0 −9 r2/r2/controllers/listingcontroller.py
View
9 r2/r2/controllers/listingcontroller.py
@@ -534,19 +534,10 @@ def keep(item):
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
Please sign in to comment.
Something went wrong with that request. Please try again.