vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[ljcom] r11666: LJSUP-11623: Update default communuties ...

Committer: vad
LJSUP-11623: Update default communuties list for new users
U   trunk/cgi-bin/LJ/Widget/ConvertIdentityAccount.pm
Modified: trunk/cgi-bin/LJ/Widget/ConvertIdentityAccount.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/ConvertIdentityAccount.pm	2012-04-04 09:30:35 UTC (rev 11665)
+++ trunk/cgi-bin/LJ/Widget/ConvertIdentityAccount.pm	2012-04-04 11:13:06 UTC (rev 11666)
@@ -144,7 +144,7 @@
     # if we have initial friends for new accounts, add them.
     my @initial_friends =
         LJ::SUP->is_sup_enabled($u)
-        ? @LJ::SUP_INITIAL_FRIENDS
+        ? (LJ::GeoLocation->ip_country eq 'UA' ? @LJ::UA_INITIAL_FRIENDS : @LJ::SUP_INITIAL_FRIENDS)
         : @LJ::INITIAL_FRIENDS;
 
     foreach my $friend (@initial_friends) {

Tags: ljcom, pm, vad, vadvs
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