wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r18949: LJSUP-8669. Change domain for userheads

Committer: gprochaev
LJSUP-8669. Change domain for userheads

U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2011-04-22 02:15:29 UTC (rev 18948)
+++ trunk/cgi-bin/LJ/User.pm	2011-04-22 03:21:44 UTC (rev 18949)
@@ -5898,7 +5898,10 @@
 
 sub custom_usericon {
     my ($u) = @_;
-    return $u->prop('custom_usericon') || '';
+
+    my $url = $u->prop('custom_usericon') || '';
+    $url =~ s#http://files.livejournal.com#$LJ::FILEPREFIX#;
+    return $url;
 }
 
 sub set_custom_usericon {

Tags: livejournal, pm, wisest-owl
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