alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[ljcom] r12232: LJSUP-12838: Geo-targeting doesn't work ...

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; 

Tags: afedorov, ljcom, pm, red_alf
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