YaWK  24.1
Yet another WebKit
message-restore-trash.php File Reference

Go to the source code of this file.

Variables

if(!isset($db)) $msg_id = $_POST['msg_id']
 
if($db->query("UPDATE {plugin_msg} SET msg_read='1', spam='0', trash='0' WHERE msg_id = '". $msg_id."'")) else
 

Variable Documentation

◆ $msg_id

if (!isset( $db)) $msg_id = $_POST['msg_id']

Definition at line 20 of file message-restore-trash.php.

◆ else

if ( $db->query("UPDATE {plugin_msg} SET msg_read='1', spam='0', trash='0' WHERE msg_id = '". $msg_id."'")) else
Initial value:
{
echo \YAWK\alert::draw("warning", "Ooops, Sorry!", "Could not restore message from trash, please try again.","",2000)

Definition at line 27 of file message-restore-trash.php.