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};