From b63ea2cdbf995d4648bc3c4a5f4eb51ed8da3a8d Mon Sep 17 00:00:00 2001 From: Jozef Selesi Date: Tue, 18 Nov 2008 15:48:08 +0000 Subject: - All comments of an item can now be seen /comments?item_id= - Return proper Content-Type header for GET /comments requests - Got rid of the query processing for index() in REST_Controller() - Small misc fixes --- modules/user/controllers/users.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/user/controllers') diff --git a/modules/user/controllers/users.php b/modules/user/controllers/users.php index ea3a4c8b..d381d399 100644 --- a/modules/user/controllers/users.php +++ b/modules/user/controllers/users.php @@ -22,9 +22,9 @@ class Users_Controller extends REST_Controller { /** * Display comments based on criteria. - * @see Rest_Controller::_delete($resource) + * @see Rest_Controller::_index() */ - public function _index($query) { + public function _index() { throw new Exception("@todo Comment_Controller::_index NOT IMPLEMENTED"); } @@ -36,9 +36,9 @@ class Users_Controller extends REST_Controller { } /** - * @see Rest_Controller::_show($resource, $format) + * @see Rest_Controller::_show($resource, $output_format) */ - public function _show($user, $format) { + public function _show($user, $output_format) { throw new Exception("@todo User_Controller::_show NOT IMPLEMENTED"); } -- cgit v1.2.3