Changes

Jump to navigation Jump to search
689 bytes added ,  16:51, 14 April 2015
no edit summary
| '''Summary'''
|Writes a string to the database logs, along with current user data (timestamp, user name). If the function is called in a web application or a database client, the IP will be logged. Otherwise, the string {{Code|STANDALONE}} will be logged.
|}
 
==admin:delete-logs==
 
Introduced with {{Version|8.2}}:
 
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|admin:delete-logs|$date as xs:string|empty-sequence()}}
|-
| '''Summary'''
|Deletes the log entries from the specified <code>$date</code>
|-
| '''Errors'''
|{{Error|BXAD0001|#Errors}} Today's log file cannot be deleted.<br/>{{Error|BXAD0002|#Errors}} An error occurred while deleting a log file.
|}
 
=Errors=
 
{| class="wikitable" width="100%"
! width="110"|Code
|Description
|-
|{{Code|BXAD0001}}
|Today's log file cannot be deleted.
|-
|{{Code|BXAD0002}}
|An error occurred while deleting a log file.
|}
=Changelog=
 
;Version 8.0
 
* Added: [[#admin:delete-logs|admin:delete-logs]]
;Version 8.0
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu