Location: PHPKode > projects > BugIn and Ticketing System > bugin-0.65/inc/admin/pre/gdelete.pre.inc.php
<?php

	if (isset($_REQUEST['selectedGroup'])) {
		$selectedGroup = intval($_REQUEST['selectedGroup']);
		if (isset($_REQUEST['confirm'])) {
			$confirm = intval($_REQUEST['confirm']);
		}

		if (isset($confirm)) {
			$update[0]['action'] = "delete";
			$update[0]['tableName'] = "groups";
			$update[0]['uniqueRow'] = "gid";
			$update[0]['rowid'] = $selectedGroup;
			$bugDatabase->alterDb($update);
			header("Location: {$options['baseURL']}?area=admin&action=gedit");
		}
	}
	
?>
Return current item: BugIn and Ticketing System