From 6ab195854ddee124b24b880ed96bb0db5fdc7805 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 29 Dec 2008 22:41:53 +0000 Subject: 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 --- modules/user/controllers/users.php | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/user/controllers/users.php') diff --git a/modules/user/controllers/users.php b/modules/user/controllers/users.php index abc0ae0f..7ccab28f 100644 --- a/modules/user/controllers/users.php +++ b/modules/user/controllers/users.php @@ -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()) { -- cgit v1.2.3