X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fapilistusers.php;h=13d1a8c580d44e92f18c347040d5ff330a1708a4;hb=d2e6519bad041e50b4ae7df441e43fd2cfed46fc;hp=0312510ef6fd89f6b8ca595bc32d9475b498d647;hpb=29d0871e5a5b2561387bcad40ef4644ee1c2be08;p=quix0rs-gnu-social.git diff --git a/lib/apilistusers.php b/lib/apilistusers.php index 0312510ef6..13d1a8c580 100644 --- a/lib/apilistusers.php +++ b/lib/apilistusers.php @@ -40,7 +40,7 @@ class ApiListUsersAction extends ApiBareAuthAction var $prev_cursor = 0; var $users = null; - protected function prepare($args) + protected function prepare(array $args=array()) { // delete list member if method is DELETE or if method is POST and an argument // _method is set to DELETE @@ -63,7 +63,6 @@ class ApiListUsersAction extends ApiBareAuthAction if (empty($this->list)) { // TRANS: Client error displayed when referring to a non-existing list. $this->clientError(_('List not found.'), 404, $this->format); - return false; } if(!$this->create && !$this->delete) {