Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r18884: LJSUP-8599: System message is not workin...

Committer: gariev
LJSUP-8599: System message is not working completely

U   trunk/cgi-bin/LJ/Widget/AddSiteMessages.pm
U   trunk/htdocs/admin/sitemessages/add.bml
Modified: trunk/cgi-bin/LJ/Widget/AddSiteMessages.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/AddSiteMessages.pm	2011-04-15 08:43:33 UTC (rev 18883)
+++ trunk/cgi-bin/LJ/Widget/AddSiteMessages.pm	2011-04-15 08:50:06 UTC (rev 18884)
@@ -146,7 +146,6 @@
 
     $ret .= "<tr><td valign='top'>Show this question to:</td><td>";
     my $current_group = 0;
-warn LJ::D(&LJ::SiteMessages::AccountMask());
     foreach my $type (LJ::SiteMessages->get_options_list()) {
         $ret .= '<br>' if($current_group != LJ::SiteMessages->get_group($type));
         

Modified: trunk/htdocs/admin/sitemessages/add.bml
===================================================================
--- trunk/htdocs/admin/sitemessages/add.bml	2011-04-15 08:43:33 UTC (rev 18883)
+++ trunk/htdocs/admin/sitemessages/add.bml	2011-04-15 08:50:06 UTC (rev 18884)
@@ -2,9 +2,12 @@
 body<=
 <?_code
 {
+#line 6
     use strict;
     use vars qw(%GET %POST $title $headextra @errors @warnings);
-    use Class::Autouse qw( LJ::SiteMessages );
+    use LJ::SiteMessages;
+    use LJ::Widget::SiteMessages;
+    use LJ::Widget::AddSiteMessages;
 
     my $remote = LJ::get_remote();
 

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