messages.info(REQUEST_HOLDER.request, _("You have penalized %s in %s reputation points.") % (self._affected, self._value) +
'<br />%s' % self.extra.get('message', ''))
messages.info(REQUEST_HOLDER.request, _("You have penalized %s in %s reputation points.") % (self._affected, self._value) +
'<br />%s' % self.extra.get('message', ''))
@@ -112,13+106,6 @@ class AwardPointsAction(ActionProxy):
self.repute(self._affected, self._value)
self.repute(self.user, -self._value)
self.repute(self._affected, self._value)
self.repute(self.user, -self._value)
- self._affected.message_set.create(
- message=_("Congratulations, you have been awarded an extra %(points)s reputation %(points_label)s on <a href=\"%(answer_url)s\">this</a> answer.") % {