summaryrefslogtreecommitdiff
path: root/modules/user/controllers
diff options
context:
space:
mode:
authorJozef Selesi <jozefs@users.sourceforge.net>2008-11-18 15:48:08 +0000
committerJozef Selesi <jozefs@users.sourceforge.net>2008-11-18 15:48:08 +0000
commitb63ea2cdbf995d4648bc3c4a5f4eb51ed8da3a8d (patch)
tree63515fed283da26948282acb635dd3186f203204 /modules/user/controllers
parentd4fc15f76c383be2ac77679ad2fcaa11bba93c05 (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.php8
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");
}