bool CStatistics::CleanUp( string date = "", array &errors )
The method CleanUp erases collected statistical data.
Parameter | Description |
---|---|
date | Date (in the format of the current site or language) up to which the statistics is to be erased. If an empty string is passed in this parameter all the collected data will be erased. |
errors | If the date parameter is empty, this variable will contain all errors that may occur during the statistics clean-up. |
The method returns "true" on success, or "false" otherwise.
<? // date (in the format of the current site or language) // up to which the statistics is to be erased $date = "31.12.2005"; // erase CStatistics::CleanUp($date); ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |