summaryrefslogtreecommitdiff
path: root/modules/user/controllers/admin_groups.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/controllers/admin_groups.php')
-rw-r--r--modules/user/controllers/admin_groups.php3
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();