Location: PHPKode > projects > Modular Site Manager > htdocs/misc/purgedeleted.php
<? 
chdir("../");
include "inc/functions.inc.php";
$mysql = new mysql(DB_MAIN);
$mysql->delete(PRE."messages", "folder='trash' AND owner='".$_COOKIE['mid']."'", "-1");
$mysql->close();
header("Location: ".$HTTP_REFERER);
?> 
Return current item: Modular Site Manager