<?php require_once('includes/requirecompere.inc.php'); $cg_id=TGET('cg_id'); $cgl_id=TGET('cgl_id'); $mb_id_owner=current_mb_id(); if (!$cg_id || !$cgl_id) { redirect("./"); return; } $DBConn->connect(false); $DBConn->begin(true); db_delete_course_group_limits($DBConn,$cgl_id,$mb_id_owner); $DBConn->commit(); redirect("qx-cmd-coursegrouprule.manage-op-delete.ok-cg_id-".$cg_id.".html"); ?>