Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[ljcom] r11184: https://jira.sup.com/browse/LJSUP-10288

Committer: anazarov
https://jira.sup.com/browse/LJSUP-10288
U   trunk/cgi-bin/LJ/Console/Command/SelfPromo.pm
Modified: trunk/cgi-bin/LJ/Console/Command/SelfPromo.pm
===================================================================
--- trunk/cgi-bin/LJ/Console/Command/SelfPromo.pm	2011-11-15 05:22:08 UTC (rev 11183)
+++ trunk/cgi-bin/LJ/Console/Command/SelfPromo.pm	2011-11-15 06:54:00 UTC (rev 11184)
@@ -184,7 +184,7 @@
     if ( $cmd eq 'unban' ) {
         if ( $object->isa('LJ::User') ) {
             $object->clear_prop('selfpromo_banned');
-            LJ::statushistory_add( $object, $admin, 'selfpromo', 'admin banned user. Reason: '. $reason );
+            LJ::statushistory_add( $object, $admin, 'selfpromo', 'admin unbanned user. Reason: '. $reason );
             $self->info( $object->display_name . ' unbanned successfully.');
             return 1;
         }

Tags: anazarov, ljcom, nfokz, pm
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