From 7805e19e22d2f7b9d2e81e4658e684a2bad85a04 Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Fri, 28 Mar 2014 04:57:00 -0400
Subject: [PATCH] Use preg_match/preg_replace when adding/removing keys to amavis to avoid duplicate keys with different selectors. Prevent restarting amavis more then one time.
---
interface/lib/classes/remote.d/mail.inc.php | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/interface/lib/classes/remote.d/mail.inc.php b/interface/lib/classes/remote.d/mail.inc.php
index d97f575..e579fb6 100644
--- a/interface/lib/classes/remote.d/mail.inc.php
+++ b/interface/lib/classes/remote.d/mail.inc.php
@@ -1034,7 +1034,6 @@
$this->server->fault('permission_denied', 'You do not have the permissions to access this function.');
return false;
}
- $client_id = $app->functions->intval($client_id);
return $app->quota_lib->get_mailquota_data($client_id, false);
}
--
Gitblit v1.9.1