summaryrefslogtreecommitdiff
path: root/plugins/archive
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-02-06 18:12:49 +0000
committeralecpl <alec@alec.pl>2010-02-06 18:12:49 +0000
commit9b94eb64153a7dc6555d6b9a30a35296ce592f82 (patch)
treef4ae470d942d0e88446fa6c0e220338f5b220adc /plugins/archive
parenta65bf3a14b617d4af6749bab9e6ac7668fb99292 (diff)
- Fix setting task name according to auth state. So, any action before user
is authenticated is assigned to 'login' task instead of 'mail'. Now binding plugins to 'login' task is possible and realy usefull. It's also possible to bind to all tasks excluding 'login'.
Diffstat (limited to 'plugins/archive')
-rw-r--r--plugins/archive/archive.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/archive/archive.php b/plugins/archive/archive.php
index d2269baba..939faf8ba 100644
--- a/plugins/archive/archive.php
+++ b/plugins/archive/archive.php
@@ -17,9 +17,6 @@ class archive extends rcube_plugin
{
$rcmail = rcmail::get_instance();
- if (!$rcmail->user->ID)
- return;
-
$this->register_action('plugin.archive', array($this, 'request_action'));
// There is no "Archived flags"