madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22367: LJSUP-12318: Writer's block flag

Committer: sbelyaev
LJSUP-12318: Writer's block flag
U   trunk/htdocs/admin/qotd/add.bml
U   trunk/htdocs/admin/qotd/manage.bml
U   trunk/htdocs/admin/qotd/responses.bml
U   trunk/htdocs/misc/latestqotd.bml
U   trunk/htdocs/misc/qotdarchive.bml
Modified: trunk/htdocs/admin/qotd/add.bml
===================================================================
--- trunk/htdocs/admin/qotd/add.bml	2012-07-03 08:02:33 UTC (rev 22366)
+++ trunk/htdocs/admin/qotd/add.bml	2012-07-03 08:10:27 UTC (rev 22367)
@@ -8,9 +8,6 @@
 
     my $remote = LJ::get_remote();
 
-    return LJ::error_list( BML::ml('qotd.disabled', { sitename => $LJ::SITENAMESHORT } ))
-        if !LJ::is_enabled('qotd');
-
     return "<?needlogin?>"
         unless $remote;
 

Modified: trunk/htdocs/admin/qotd/manage.bml
===================================================================
--- trunk/htdocs/admin/qotd/manage.bml	2012-07-03 08:02:33 UTC (rev 22366)
+++ trunk/htdocs/admin/qotd/manage.bml	2012-07-03 08:10:27 UTC (rev 22367)
@@ -8,9 +8,6 @@
 
     my $remote = LJ::get_remote();
 
-    return LJ::error_list( BML::ml('qotd.disabled', { sitename => $LJ::SITENAMESHORT } )) 
-        if !LJ::is_enabled('qotd');
-
     return "<?needlogin?>"
         unless $remote;
 

Modified: trunk/htdocs/admin/qotd/responses.bml
===================================================================
--- trunk/htdocs/admin/qotd/responses.bml	2012-07-03 08:02:33 UTC (rev 22366)
+++ trunk/htdocs/admin/qotd/responses.bml	2012-07-03 08:10:27 UTC (rev 22367)
@@ -10,9 +10,6 @@
 
     $title = "Writer's Block Report";
 
-    return LJ::error_list( BML::ml('qotd.disabled', { sitename => $LJ::SITENAMESHORT } ))
-        if !LJ::is_enabled('qotd');
-
     return "<?needlogin?>"
         unless $remote;
 

Modified: trunk/htdocs/misc/latestqotd.bml
===================================================================
--- trunk/htdocs/misc/latestqotd.bml	2012-07-03 08:02:33 UTC (rev 22366)
+++ trunk/htdocs/misc/latestqotd.bml	2012-07-03 08:10:27 UTC (rev 22367)
@@ -5,9 +5,6 @@
     use strict;
     use vars qw(%GET %POST $title $headextra @errors @warnings);
 
-    return LJ::error_list( BML::ml('qotd.disabled', { sitename => $LJ::SITENAMESHORT } ))
-        if !LJ::is_enabled('qotd');
-
     my $remote = LJ::get_remote(); # used to check entry security
 
     $title = "Writer's Block";

Modified: trunk/htdocs/misc/qotdarchive.bml
===================================================================
--- trunk/htdocs/misc/qotdarchive.bml	2012-07-03 08:02:33 UTC (rev 22366)
+++ trunk/htdocs/misc/qotdarchive.bml	2012-07-03 08:10:27 UTC (rev 22367)
@@ -7,9 +7,6 @@
 
     $title = $ML{'.title'};
 
-    return LJ::error_list( BML::ml('qotd.disabled', { sitename => $LJ::SITENAMESHORT } ))
-        if !LJ::is_enabled('qotd');
-
     my $page = defined $GET{page} ? $GET{page} : 1;
 
     return LJ::Widget::QotDArchive->render( page => $page );

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