Committer: akanashin
LJSUP-11556: Main page branding for Megafon (22.03 - 04.04) U trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm =================================================================== --- trunk/cgi-bin/LJ/Hooks/Homepage.pm 2012-03-27 08:33:41 UTC (rev 11641) +++ trunk/cgi-bin/LJ/Hooks/Homepage.pm 2012-03-27 12:02:19 UTC (rev 11642) @@ -56,6 +56,9 @@ my $remote = LJ::get_remote(); return if $remote && ($remote->get_cap('paid') || !$remote->in_class('plus')); + ## only users from Russia + return if LJ::GeoLocation->get_country_info_by_ip ne 'RU'; + ## only Cyr users return unless LJ::SUP->is_remote_sup;