[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
mark.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2322
Disable checkfriends mode so it stops erroring.
Patch by
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 ) {
--------------------------------------------------------------------------------
