vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r21156: LJSUP-11216: user aliases do not display...

Committer: vad
LJSUP-11216: user aliases do not displayed, fix it.
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-02-09 14:22:13 UTC (rev 21155)
+++ trunk/cgi-bin/LJ/User.pm	2012-02-09 14:27:18 UTC (rev 21156)
@@ -435,13 +435,7 @@
 
 sub preload_props {
     my $u = shift;
-
-    ## if called with with options, use LJ::load_user_props
-    if ($_[0] and ref $_[0]){
-        LJ::load_user_props($u, @_);
-    } else {
-        LJ->load_user_props_multi([$u], [@_]);
-    }
+    LJ::load_user_props($u, @_);
 }
 
 sub readonly {

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