From: Stéphane Jacob Date: Sun, 1 May 2011 09:39:36 +0000 (+0200) Subject: Removes unused variable. X-Git-Tag: xorg/1.1.1~42 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=35be58456be0f138e9acc010bb6670fb0b1e1b5d;p=platal.git Removes unused variable. Signed-off-by: Stéphane Jacob --- 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