From 9b94eb64153a7dc6555d6b9a30a35296ce592f82 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sat, 06 Feb 2010 13:12:49 -0500 Subject: [PATCH] - 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'. --- plugins/markasjunk/markasjunk.php | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/plugins/markasjunk/markasjunk.php b/plugins/markasjunk/markasjunk.php index 9f75590..0466458 100644 --- a/plugins/markasjunk/markasjunk.php +++ b/plugins/markasjunk/markasjunk.php @@ -17,9 +17,6 @@ { $rcmail = rcmail::get_instance(); - if (!$rcmail->user->ID) - return; - $this->register_action('plugin.markasjunk', array($this, 'request_action')); if ($rcmail->action == '' || $rcmail->action == 'show') { -- Gitblit v1.9.1