]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Ticket #3022: fix formatting output for ApiAction::clientError and ApiAction::serverE...
authorBrion Vibber <brion@pobox.com>
Tue, 1 Feb 2011 22:35:42 +0000 (14:35 -0800)
committerBrion Vibber <brion@pobox.com>
Tue, 1 Feb 2011 22:35:42 +0000 (14:35 -0800)
commit7977454456fd65b31859089a14bfca0d4a453138
treee46af67c7f048d9a778aea78468dd640221ccd39
parentb46ce3b67d189d729a4a7679dfb6d6434190d392
Ticket #3022: fix formatting output for ApiAction::clientError and ApiAction::serverError when caller doesn't explicitly pass the format.
Format's already available as a member variable, so use it!

Fixes some error reponses in api/statusnet/groups/leave.json which were coming through as XML.
May fix some others as well.
lib/apiaction.php