mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fixed usage of constant
This commit is contained in:
parent
66bfb5029b
commit
306f1c38b7
@ -23,7 +23,7 @@ class ChatMessageEditor extends \wcf\data\DatabaseObjectEditor {
|
||||
* @param integer $lifetime Delete messages older that this time.
|
||||
* @return integer Number of deleted messages.
|
||||
*/
|
||||
public static function prune($lifetime = CHAT_ARCHIVETIME) {
|
||||
public static function prune($lifetime = CHAT_LOG_ARCHIVETIME) {
|
||||
$baseClass = self::$baseClass;
|
||||
$sql = "SELECT
|
||||
".$baseClass::getDatabaseTableIndexName()."
|
||||
|
Loading…
Reference in New Issue
Block a user