Committer: akanashin
LJSUP-12494: Hide LJTImes for Beeline communityU 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);