commit
This commit is contained in:
@@ -486,7 +486,7 @@ Public Class cMessenger
|
||||
End Function
|
||||
|
||||
|
||||
Public Function SetOldChatsInactiv(olderthan As Integer) As Boolean
|
||||
Public Function setOldChatsInactiv(olderthan As Integer) As Boolean
|
||||
|
||||
Dim dateBack = If(olderthan <> "", CDate(Now.AddDays(olderthan * -1)), CDate(Now.AddDays(30 * -1)))
|
||||
Dim sqlstr = " Update [tblMessenger_Chat] set [chat_aktiv] = 0 WHERE chat_aktiv = 1 and chat_lastMsg <=" & dateBack
|
||||
|
||||
Reference in New Issue
Block a user