changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[livejournal] r23545: LJSUP-14396: SUP::RPC command acme_suspe...

Committer: tnurutdinov
LJSUP-14396: SUP::RPC command acme_suspend shouldn't affect 'whitelisted for spam' users
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2013-01-15 11:17:19 UTC (rev 23544)
+++ trunk/cgi-bin/LJ/User.pm	2013-01-15 13:36:54 UTC (rev 23545)
@@ -6567,6 +6567,11 @@
     return 0;
 }
 
+sub is_in_whitelist_for_spam {
+    my $u = shift;
+    return $u->prop('in_whitelist_for_spam');
+}
+
 sub is_spamprotection_enabled {
     my $u = shift;
     return 0 if $LJ::DISABLED{'spam_button'};

Tags: livejournal, pm, tnurutdinov
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments