Remove rest::JSON content type; it's causing lots of problems and it doesn't directly help since text/html works just as well for our JSON communications

This commit is contained in:
Bharat Mediratta
2008-12-29 22:41:53 +00:00
parent 29c925a3cc
commit 6ab195854d
9 changed files with 0 additions and 18 deletions
-1
View File
@@ -25,7 +25,6 @@ class Users_Controller extends REST_Controller {
access::forbidden();
}
rest::http_content_type(rest::JSON);
$form = user::get_edit_form($user);
$form->edit_user->password->rules("-required");
if ($form->validate()) {