<?php
require_once GTFWConfiguration::GetValue( 'application', 'docroot') . 'module/kota/response/ProcessKota.proc.class.php';

class DoDeleteKota extends JsonResponse {

	function TemplateModule() {
	}
	
	function ProcessRequest() {
		$kotaObj = new ProcessKota();
		$urlRedirect = $kotaObj->Delete();
		return array('exec'=>'GtfwAjax.replaceContentWithUrl("subcontent-element","'.$urlRedirect.'&ascomponent=1")');
	 }
	function ParseTemplate($data = NULL) {	
	}
}
?>