diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-29 22:41:53 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-29 22:41:53 +0000 |
commit | 6ab195854ddee124b24b880ed96bb0db5fdc7805 (patch) | |
tree | 02a91acb7ddaa13eee3730bc8a9366fc94dc9c9c /modules/user/controllers/admin_groups.php | |
parent | 29c925a3cc30a5b1fc66c658e4be85914a6b515c (diff) |
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
Diffstat (limited to 'modules/user/controllers/admin_groups.php')
-rw-r--r-- | modules/user/controllers/admin_groups.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/user/controllers/admin_groups.php b/modules/user/controllers/admin_groups.php index d0cfe70e..f840fa0b 100644 --- a/modules/user/controllers/admin_groups.php +++ b/modules/user/controllers/admin_groups.php @@ -26,7 +26,6 @@ class Admin_Groups_Controller extends Controller { } public function add() { - rest::http_content_type(rest::JSON); $form = group::get_add_form_admin(); if($form->validate()) { $group = group::create($form->add_group->inputs["name"]->value); @@ -45,7 +44,6 @@ class Admin_Groups_Controller extends Controller { } public function delete($id) { - rest::http_content_type(rest::JSON); $group = ORM::factory("group", $id); if (!$group->loaded) { kohana::show_404(); @@ -75,7 +73,6 @@ class Admin_Groups_Controller extends Controller { } public function edit($id) { - rest::http_content_type(rest::JSON); $group = ORM::factory("group", $id); if (!$group->loaded) { kohana::show_404(); |