From 4a29c75938bfd1899e053aa07b8d2bc6f92096e5 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Wed, 9 Mar 2011 20:50:13 +0000 Subject: [PATCH] edit-mailbox.php: - drop superfluous "modified" field (it's default anyway) git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@998 a1433add-5e2c-0410-b055-b7f2511e0802 --- edit-mailbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edit-mailbox.php b/edit-mailbox.php index 0539141c..b4437faa 100644 --- a/edit-mailbox.php +++ b/edit-mailbox.php @@ -154,7 +154,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") if(preg_match('/^(.*)@/', $fUsername, $matches)) { $formvars['local_part'] = $matches[1]; } - $result = db_update_q('mailbox', "username='$fUsername' AND domain='$fDomain'", $formvars, array('modified')); # TODO: check if we need the AND domain=... clause, if not, switch to db_update() + $result = db_update_q('mailbox', "username='$fUsername' AND domain='$fDomain'", $formvars); # TODO: check if we need the AND domain=... clause, if not, switch to db_update() $maildir = $user_details['maildir']; if ($result != 1 || !mailbox_postedit($fUsername,$fDomain,$maildir, $quota)) { $tMessage = $PALANG['pEdit_mailbox_result_error'];