Committer: afedorov
LJSUP-12838: Geo-targeting doesn't work for Google, Beeline and Samsung Galaxy branding U trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm =================================================================== --- trunk/cgi-bin/LJ/Hooks/Homepage.pm 2012-07-05 13:34:03 UTC (rev 12231) +++ trunk/cgi-bin/LJ/Hooks/Homepage.pm 2012-07-05 14:56:06 UTC (rev 12232) @@ -59,13 +59,7 @@ my $country = LJ::GeoLocation->get_country_info_by_ip; my $time = time(); - ## beeline branding - 00.00 28 of June till 23.59 19 0f July - if ($time > 1340827200 || $time > 1342727940) { - ## only users from Russia, Ukraine and Belorussia - return if not grep { $country eq $_ } qw { RU UA BY }; - } else { - return if not grep { $country eq $_ } qw { RU }; - } + return unless $country eq 'RU'; ## only Cyr users return unless LJ::SUP->is_remote_sup;