english/administrator/components/com_aicontactsafe/controllers/control_panel.php
// function to delete all tables and files uploaded by aiContactSafe
function to delete all tables and files uploaded by aiContactSafe
function to delete all tables and files uploaded by aiContactSafe
function delete_all_accepted() {
		$model = &$this->getModel( $this->_sTaskModel, '', $this->_parameters );
		$model->deleteTablesAndFiles();
		$model->resetFormFields();
		if($this->_jversion >= '1.6') {
			$link = 'index.php?option=com_installer&view=manage';
		} else {
			$link = 'index.php?option=com_installer&task=manage&type=components';
		}
		$this->setRedirect($link);
	}
function delete_all_accepted ( ) { $ model = & $ this -> getModel ( $ this -> _sTaskModel , '' , $ this -> _parameters ) ; $ model -> deleteTablesAndFiles ( ) ; $ model -> resetFormFields ( ) ; if ( $ this -> _jversion >= '1.6' ) { $ link = 'index.php?option=com_installer&view=manage' ; } else { $ link = 'index.php?option=com_installer&task=manage&type=components' ; } $ this -> setRedirect ( $ link ) ; }
function to delete all tables and files uploaded by aiContactSafe
function to delete all tables and files uploaded by aiContactSafe
// get the model for the current controller // delete tables and files // redirect the page after the tables and files were deleted