X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/acaa44d26edeac3ee6838eb636e470a085054138..ebed93329759e2584eee3c4e2aa1deddc1c32bf8:/quarantine.php diff --git a/quarantine.php b/quarantine.php index 2552995..3a75701 100644 --- a/quarantine.php +++ b/quarantine.php @@ -21,8 +21,8 @@ $mail = unserialize($_SESSION['mailInfo']["$mail_id"]); $secret_id = $mail->secret_id; $recipient = $mail->recipient; - echo "$mail_id $secret_id $recipient"; -/* + //echo "$mail_id $secret_id $recipient"; + if ($request == 'release') { $amavisserver = $CFG->amavisd_db_host; $policy_port = $CFG->amavis_policy_port; @@ -56,8 +56,9 @@ error("Unknown operation [$request]"); exit; } -*/ } + + return $query; } $util = Utils::getInstance(); @@ -66,8 +67,8 @@ if ($loggedIn && isset($_GET['id'])) { $ids = explode(',', $_GET['id']); $query = handleRequest($request, $ids); - exit; -/* $mail_id = urldecode($_GET['id']); +/* exit; + $mail_id = urldecode($_GET['id']); $mail = unserialize($_SESSION['mailInfo']["$mail_id"]); $secret_id = $mail->secret_id; $recipient = $mail->recipient; @@ -106,6 +107,8 @@ error("Unknown operation [$request]"); exit; }*/ + print_r($query); + exit; $success = $DB->update($query); if (! $success) { error("Message not released, contact administrator [$query]");