diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-11-17 13:44:41 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-11-17 13:44:41 +0000 |
| commit | 6891241e28d12cb8778e8b52eaca679eaecd8a0a (patch) | |
| tree | b71bee1d1179b498b440a5a31affec19d99d0260 | |
| parent | 445c436db6d8f52c771042e3e16f7a5ff101f882 (diff) | |
- Removed unused private variable
git-svn-id: https://svn.roundcube.net/trunk@5442 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | plugins/managesieve/lib/rcube_sieve_script.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/managesieve/lib/rcube_sieve_script.php b/plugins/managesieve/lib/rcube_sieve_script.php index 737d86164..f5ad62c3f 100644 --- a/plugins/managesieve/lib/rcube_sieve_script.php +++ b/plugins/managesieve/lib/rcube_sieve_script.php @@ -29,7 +29,6 @@ class rcube_sieve_script private $vars = array(); // "global" variables private $prefix = ''; // script header (comments) - private $capabilities = array(); // Sieve extensions supported by server private $supported = array( // Sieve extensions supported by class 'fileinto', // RFC5228 'envelope', // RFC5228 @@ -56,12 +55,12 @@ class rcube_sieve_script */ public function __construct($script, $capabilities=array()) { - $this->capabilities = array_map('strtolower', (array) $capabilities); + $capabilities = array_map('strtolower', (array) $capabilities); // disable features by server capabilities - if (!empty($this->capabilities)) { + if (!empty($capabilities)) { foreach ($this->supported as $idx => $ext) { - if (!in_array($ext, $this->capabilities)) { + if (!in_array($ext, $capabilities)) { unset($this->supported[$idx]); } } |
