english/administrator/components/com_aicontactsafe/models/profiles.php
// function to reset the default profile
function to reset the default profile
function to reset the default profile
function resetDefaultProfile() {
		$db = &JFactory::getDBO();
		$query = 'UPDATE `#__aicontactsafe_profiles` SET set_default = 0';
		$db->setQuery( $query );
		$db->query();
	}
function resetDefaultProfile ( ) { $ db = & JFactory :: getDBO ( ) ; $ query = 'UPDATE `#__aicontactsafe_profiles` SET set_default = 0' ; $ db -> setQuery ( $ query ) ; $ db -> query ( ) ; }
function to reset the default profile
function to reset the default profile
// initialize the database // reset field set_default to 0 for all records