From ff1575e4180175eae8570001953f3981f8438357 Mon Sep 17 00:00:00 2001 From: Michael Rasmussen Date: Sun, 31 May 2015 14:57:27 +0200 Subject: [PATCH] fix indentation --- quarantine.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/quarantine.php b/quarantine.php index be89417..9186378 100644 --- a/quarantine.php +++ b/quarantine.php @@ -69,22 +69,22 @@ $query = array(); $error = array(); foreach ($marked as $mail_id) { - $query[] = "delete from msgs where mail_id = '$mail_id'"; - $query[] = "delete from msgrcpt where mail_id = '$mail_id'"; - $query[] = "delete from quarantine where mail_id = '$mail_id'"; - $success = $DB->update($query); + $query[] = "delete from msgs where mail_id = '$mail_id'"; + $query[] = "delete from msgrcpt where mail_id = '$mail_id'"; + $query[] = "delete from quarantine where mail_id = '$mail_id'"; + $success = $DB->update($query); if (! $success) { - $error[] = $mail_id; + $error[] = $mail_id; } } if (count($error) > 0) { $str = implode(', ', $error); - error("The following messages was not purged [$str], contact administrator"); - exit; + error("The following messages was not purged [$str], contact administrator"); + exit; } header('Location: index.php'); } else if ($loggedIn) { - header('Location: index.php'); + header('Location: index.php'); } else { header('Location: auth.php'); } -- 2.39.2