holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r12283: LJSUP-12951: Console comands for promo n...

Committer: akanashin
LJSUP-12951: Console comands for promo notifications
U   trunk/cgi-bin/LJ/Console/Command/NotificationPromo.pm
Modified: trunk/cgi-bin/LJ/Console/Command/NotificationPromo.pm
===================================================================
--- trunk/cgi-bin/LJ/Console/Command/NotificationPromo.pm	2012-07-13 08:10:44 UTC (rev 12282)
+++ trunk/cgi-bin/LJ/Console/Command/NotificationPromo.pm	2012-07-13 08:13:12 UTC (rev 12283)
@@ -42,8 +42,7 @@
 
 sub can_execute {
     my $remote = LJ::get_remote();
-#    return LJ::check_priv( $remote, 'siteadmin', 'notificationpromo' );
-return 1;    
+    return LJ::check_priv( $remote, 'siteadmin', 'notificationpromo' );
 }
 
 sub _cancel_object {

Tags: akanashin, holyandrew, ljcom, 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