Description and parameters
bool CSaleAuxiliary::DeleteByTime( int periodLength, sring periodType );
Method deletes all information on temporary access older than specified time. Non-static method.
|periodLength||Period length during which user has access to a resource.|
|periodType||Type of time period during which user has access to a resource. Permissible values:
Returns true on success and false otherwise.
<? // Delete all records older than 2 days CSaleAuxiliary::DeleteByTime(2, "D"); ?>
© «Bitrix24», 2001-2023