alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[livejournal] r21160: LJSUP-10900: Implement MessagePack proto...

Committer: afedorov
LJSUP-10900: Implement MessagePack protocol driver to access to Relation Service.

U   trunk/cgi-bin/LJ/RelationService.pm
Modified: trunk/cgi-bin/LJ/RelationService.pm
===================================================================
--- trunk/cgi-bin/LJ/RelationService.pm	2012-02-10 11:50:40 UTC (rev 21159)
+++ trunk/cgi-bin/LJ/RelationService.pm	2012-02-10 12:51:10 UTC (rev 21160)
@@ -56,6 +56,7 @@
     my $type  = shift;
     my %opts  = @_;
     
+    $u = LJ::want_user($u);
     $opts{offset} ||= 0;
     $opts{limit}  ||= 50000;
 
@@ -78,6 +79,7 @@
     my $type  = shift;
     my %opts  = @_;
 
+    $u = LJ::want_user($u);
     $opts{offset} ||= 0;
     $opts{limit}  ||= 50000;
 
@@ -99,6 +101,7 @@
     my $type  = shift;
     my %opts  = @_;
 
+    $u = LJ::want_user($u);
     $opts{offset} ||= 0;
     $opts{limit}  ||= 50000;
 
@@ -125,6 +128,7 @@
     my $class = shift;
     my $u     = shift;
 
+    $u = LJ::want_user($u);
     if ($class->_load_alt_api('update')){
         my $alt = $class->alt_api($u);
         if ($alt){
@@ -141,6 +145,7 @@
     my $class = shift;
     my $u     = shift;
 
+    $u = LJ::want_user($u);
     if ($class->_load_alt_api('update')){
         my $alt = $class->alt_api($u);
         if ($alt){

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