From 35be58456be0f138e9acc010bb6670fb0b1e1b5d Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 1 May 2011 11:39:36 +0200 Subject: [PATCH] Removes unused variable. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- include/emails.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/emails.inc.php b/include/emails.inc.php index 9776d80..fe46f37 100644 --- a/include/emails.inc.php +++ b/include/emails.inc.php @@ -523,7 +523,7 @@ class Email public function activate() { if ($this->inactive) { - if ($is_storage = in_array($this->type, self::get_allowed_storages($this->user))) { + if (in_array($this->type, self::get_allowed_storages($this->user))) { self::activate_storage($this->user, $this->type, $this->action); } else { XDB::execute('UPDATE email_redirect_account @@ -541,7 +541,7 @@ class Email public function deactivate() { if ($this->active) { - if ($is_storage = in_array($this->type, self::get_allowed_storages($this->user))) { + if (in_array($this->type, self::get_allowed_storages($this->user))) { self::deactivate_storage($this->user, $this->type); } else { XDB::execute('UPDATE email_redirect_account -- 2.1.4