Collections functions
General functions
Render functions
Theme permission 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 159 to 162

Definition

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

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