holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r22532: LJSUP-12608: Profile Redesign (DISABLED ...

Committer: akanashin
LJSUP-12608: Profile Redesign (DISABLED IN #95)
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-07-31 12:10:25 UTC (rev 22531)
+++ trunk/cgi-bin/LJ/User.pm	2012-07-31 12:32:28 UTC (rev 22532)
@@ -2106,8 +2106,13 @@
 
     my $url;
     if ($u->{journaltype} eq "I") {
-        $url = "$LJ::SITEROOT/userinfo.bml?userid=$u->{'userid'}&t=I";
-        $url .= "&mode=full" if $opts{full};
+        if ($LJ::DISABLED{profile_controller}) {
+            $url = "$LJ::SITEROOT/userinfo.bml?userid=$u->{'userid'}&t=I";
+            $url .= "&mode=full" if $opts{full};
+        } else {
+            $url = "$LJ::SITEROOT/profile?userid=$u->{'userid'}&t=I";
+            $url .= "&mode=full" if $opts{full};
+        }
     } else {
         $url = $u->journal_base . "/profile";
         $url .= "?mode=full" if $opts{full};

Tags: akanashin, holyandrew, livejournal, pm
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