summaryrefslogtreecommitdiff
path: root/plugins/managesieve/managesieve.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/managesieve/managesieve.php')
-rw-r--r--plugins/managesieve/managesieve.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/managesieve/managesieve.php b/plugins/managesieve/managesieve.php
index 18001c0e7..ae92ff975 100644
--- a/plugins/managesieve/managesieve.php
+++ b/plugins/managesieve/managesieve.php
@@ -43,10 +43,9 @@ class managesieve extends rcube_plugin
{
public $task = 'settings';
- private $sieve;
private $rc;
+ private $sieve;
private $errors;
- private $dir;
private $form;
private $script = array();
private $exts = array();
@@ -58,9 +57,6 @@ class managesieve extends rcube_plugin
function init()
{
- $rcmail = rcmail::get_instance();
- $this->rc = &$rcmail;
-
// add Tab label/title
$this->add_texts('localization/', array('filters','managefilters'));
@@ -74,6 +70,9 @@ class managesieve extends rcube_plugin
function managesieve_start()
{
+ $rcmail = rcmail::get_instance();
+ $this->rc = &$rcmail;
+
// register UI objects
$this->rc->output->add_handlers(array(
'filterslist' => array($this, 'filters_list'),