Collections functions
General functions
Render functions
Theme permission functions
Resource functions

message_remove()

Description

Remove a message from message table and associated user_messages

Parameters

ColumnTypeDefaultDescription
$message int Message ID

Return

void

Location

include/message_functions.php lines 135 to 139

Definition

 
function message_remove($message)
    {
    
ps_query("DELETE FROM user_message WHERE message = ?", array("i",$message));
    
ps_query("DELETE FROM message WHERE ref = ?", array("i",$message));    
    }

This article was last updated 24th May 2022 19:35 Europe/London time based on the source file dated 26th January 2022 11:10 Europe/London time.