diff options
author | Jozef Selesi <jozefs@users.sourceforge.net> | 2008-11-18 15:48:08 +0000 |
---|---|---|
committer | Jozef Selesi <jozefs@users.sourceforge.net> | 2008-11-18 15:48:08 +0000 |
commit | b63ea2cdbf995d4648bc3c4a5f4eb51ed8da3a8d (patch) | |
tree | 63515fed283da26948282acb635dd3186f203204 /modules/user/controllers | |
parent | d4fc15f76c383be2ac77679ad2fcaa11bba93c05 (diff) |
- 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
Diffstat (limited to 'modules/user/controllers')
-rw-r--r-- | modules/user/controllers/users.php | 8 |
1 files changed, 4 insertions, 4 deletions
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"); } |