Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

message_unseen()

Description

Mark a message as unseen

Parameters

ColumnTypeDefaultDescription
$message int Message ID

Return

void

Location

include/message_functions.php lines 377 to 380

Definition

 
function message_unseen($message)
    {
    
ps_query("UPDATE `user_message` SET seen = '0' WHERE `ref` = ?", array("i",$message));
    }

This article was last updated 23rd July 2024 07:05 Europe/London time based on the source file dated 1st July 2024 16:10 Europe/London time.