english/administrator/components/com_search/models/searches.php
/**
	 * Method to reset the seach log table.
	 *
	 * @return	boolean
	 */
Method to reset the seach log table.
@return      boolean
Method to reset the seach log table . @return boolean
public function reset()
	{
		$db = $this->getDbo();
		$db->setQuery(
			'DELETE FROM #__core_log_searches'
		);
		if (!$db->query()) {
			$this->setError($db->getErrorMsg());
			return false;
		}
		return true;
	}
public function reset ( ) { $ db = $ this -> getDbo ( ) ; $ db -> setQuery ( 'DELETE FROM #__core_log_searches' ) ; if ( ! $ db -> query ( ) ) { $ this -> setError ( $ db -> getErrorMsg ( ) ) ; return false ; } return true ; }
Method to reset the seach log table.
Method to reset the seach log table .