UNB Components Code Reference

UnbLog::DeleteBefore method

Deletes old log entries.

public static function UnbLog::DeleteBefore ($time);

Parameters

time

(int) Timestamp before which events will be deleted. For security reasons, the timestamp must not be newer than 7 days ago.

Exceptions thrown

UnbSecurityException 

If not logged in or no administrator.

InvalidArgumentException 

On invalid argument type or value.

UnbDatabaseException No description available.

Privileges required

Must be logged in with administrator privilege

Member of class: UnbLog

Implementation file: log.class.php, line 420

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-06.