alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[livejournal] r22979: LJSUP-13431: Antispam for edited entries...

Committer: afedorov
LJSUP-13431: Antispam for edited entries in the communities

U   trunk/htdocs/community/moderate.bml
Modified: trunk/htdocs/community/moderate.bml
===================================================================
--- trunk/htdocs/community/moderate.bml	2012-09-26 12:16:46 UTC (rev 22978)
+++ trunk/htdocs/community/moderate.bml	2012-09-26 12:38:25 UTC (rev 22979)
@@ -266,6 +266,9 @@
             $c->do("DELETE FROM modblob WHERE journalid=? AND modid=?",
                    undef, $c->{'userid'}, $modid);
 
+            my $entry = LJ::Entry->new($c->{'userid'}, jitemid => $req->{itemid});
+            $entry->set_prop("mod_queue_id", undef) if $entry;
+
         # FALL THROUGH to showing the list of entries in this community
         } else {
             $ret .= "<p>";

Tags: afedorov, bml, livejournal, red_alf
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