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 353 to 357

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 5th October 2022 03:35 Europe/London time based on the source file dated 4th October 2022 23:15 Europe/London time.