Collections functions
General functions
Render functions
Theme permission functions
User 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 355 to 359

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 4th December 2023 19:35 Europe/London time based on the source file dated 27th November 2023 15:35 Europe/London time.