english/administrator/components/com_aicontactsafe/controllers/attachments.php
// function to delete one or more attached files
function to delete one or more attached files
function to delete one or more attached files
function delete() {
		$model = &$this->getModel( $this->_sTaskModel, '', $this->_parameters );
		$model->delete();
		$link = $model->getReturnLink();
		$msg = JText::_('COM_AICONTACTSAFE_ATTACHMENTS_DELETED');
		$msgType = 'message';
		$this->setRedirect($link, $msg, $msgType);
	}
function delete ( ) { $ model = & $ this -> getModel ( $ this -> _sTaskModel , '' , $ this -> _parameters ) ; $ model -> delete ( ) ; $ link = $ model -> getReturnLink ( ) ; $ msg = JText :: _ ( 'COM_AICONTACTSAFE_ATTACHMENTS_DELETED' ) ; $ msgType = 'message' ; $ this -> setRedirect ( $ link , $ msg , $ msgType ) ; }
function to delete one or more attached files
function to delete one or more attached files