Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[livejournal] r21687: LJSUP-11785: Disable trava.ru

Committer: amyshkin
LJSUP-11785: Disable trava.ru
U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-04-10 16:06:48 UTC (rev 21686)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-04-11 07:39:35 UTC (rev 21687)
@@ -112,6 +112,7 @@
 
 sub should_show_trava {
     my ($self) = @_;
+    return 0 if $LJ::DISABLED{'trava'};
     return 0 unless LJ::Setting::Music::Trava->good_ip;
 
     my $me = $self->remote->prop('music_engine');

Tags: amyshkin, livejournal, pm, zilogic
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