english/administrator/components/com_aicontactsafe/models/control_panel.php
// function to deactivate aiContactSafe in Artio
function to deactivate aiContactSafe in Artio
function to deactivate aiContactSafe in Artio
function deactivate_artio() {
		jimport('joomla.filesystem.file');
		$com_aicontactsafe = JPath::clean(JPATH_ROOT.DS.'components'.DS.'com_sef'.DS.'sef_ext'.DS.'com_aicontactsafe.php');
		if (is_file($com_aicontactsafe)) {
			JFile::delete($com_aicontactsafe);
		}
		$com_aicontactsafe = JPath::clean(JPATH_ROOT.DS.'components'.DS.'com_sef'.DS.'sef_ext'.DS.'com_aicontactsafe.xml');
		if (is_file($com_aicontactsafe)) {
			JFile::delete($com_aicontactsafe);
		}
	}
function deactivate_artio ( ) { jimport ( 'joomla.filesystem.file' ) ; $ com_aicontactsafe = JPath :: clean ( JPATH_ROOT . DS . 'components' . DS . 'com_sef' . DS . 'sef_ext' . DS . 'com_aicontactsafe.php' ) ; if ( is_file ( $ com_aicontactsafe ) ) { JFile :: delete ( $ com_aicontactsafe ) ; } $ com_aicontactsafe = JPath :: clean ( JPATH_ROOT . DS . 'components' . DS . 'com_sef' . DS . 'sef_ext' . DS . 'com_aicontactsafe.xml' ) ; if ( is_file ( $ com_aicontactsafe ) ) { JFile :: delete ( $ com_aicontactsafe ) ; } }
function to deactivate aiContactSafe in Artio
function to deactivate aiContactSafe in Artio
// import joomla clases to manage file system