Committer: amyshkin
LJSUP-11785: Disable trava.ruU 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');