mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2010-02-05 10:16 am

[dw-free] undefined subroutine LJ::get_friends

[commit: http://hg.dwscoalition.org/dw-free/rev/17a1b276616f]

http://bugs.dwscoalition.org/show_bug.cgi?id=2322

Disable checkfriends mode so it stops erroring.

Patch by [staff profile] mark.

Files modified:
  • cgi-bin/ljprotocol.pl
--------------------------------------------------------------------------------
diff -r 14f211f79287 -r 17a1b276616f cgi-bin/ljprotocol.pl
--- a/cgi-bin/ljprotocol.pl	Thu Feb 04 19:12:38 2010 +0000
+++ b/cgi-bin/ljprotocol.pl	Fri Feb 05 10:16:11 2010 +0000
@@ -128,6 +128,7 @@ my %e = (
      "504" => [ E_PERM, "Protocol mode no longer supported." ],
      "505" => [ E_TEMP, "Account data format on server is old and needs to be upgraded." ], # cluster0
      "506" => [ E_TEMP, "Journal sync temporarily unavailable." ],
+     "507" => [ E_TEMP, "Method temporarily disabled; try again later." ],
 );
 
 sub translate
@@ -744,6 +745,9 @@ sub checkfriends
     return undef unless authenticate($req, $err, $flags);
     my $u = $flags->{'u'};
     my $res = {};
+
+    # FIXME: not updated for WTF yet
+    return fail( $err, 507 );
 
     # return immediately if they can't use this mode
     unless ( $u->can_use_checkfriends ) {
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org