Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

message_purge()

Parameters

This function accepts no parameters.

Location

include/message_functions.php lines 135 to 139

Definition

 
function message_purge()
    {
    
sql_query("DELETE FROM user_message WHERE message IN (SELECT ref FROM message where expires < NOW())");
    
sql_query("DELETE FROM message where expires < NOW()");
    }

This article was last updated 11th July 2020 21:35 Europe/London time based on the source file dated 2nd July 2020 09:49 Europe/London time.