holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r22194: LJSUP-12494: Hide LJTImes for Beeline co...

Committer: akanashin
LJSUP-12494: Hide LJTImes for Beeline community
U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2012-06-07 12:21:43 UTC (rev 22193)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2012-06-07 12:25:34 UTC (rev 22194)
@@ -2111,7 +2111,11 @@
 
     # add crap before </body>
     my $before_body_close = "";
-    LJ::run_hooks("insert_html_before_body_close", \$before_body_close);
+
+    unless ($LJ::DISABLED_LJTIMES{$user}) {
+        LJ::run_hooks("insert_html_before_body_close", \$before_body_close);
+    }
+
     LJ::run_hooks("insert_html_before_journalctx_body_close", \$before_body_close);
     {
         my $journalu = LJ::load_user($user);

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