def review_request_closed_cb(sender, user, review_request, type, **kwargs):
 siteconfig = SiteConfiguration.objects.get_current()
 if siteconfig.get(u'mail_send_review_close_mail'):
  mail_review_request(review_request, user, close_type=type)

def review_request_closed_cb ( sender , user , review_request , type , ** kwargs ) : siteconfig = SiteConfiguration . objects . get_current ( ) if siteconfig . get ( u'mail_send_review_close_mail' ) : mail_review_request ( review_request , user , close_type = type )
send e-mail when a review request is closed .