From b3510079a587393a3429d965de538bca9dd66ca7 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 22 Apr 2007 11:50:13 +0200 Subject: removed ACTION_REGISTER event This event was undocumented and only used in the CAPTCHA plugin. The event is not needed as the same action can be carried out in ACTION_ACT_PREPROCESS. Users of the CAPTCHA plugin need to update it. darcs-hash:20070422095013-7ad00-179a3784f9edb5840cdb8fb5296015a60c79859e.gz --- inc/actions.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'inc/actions.php') diff --git a/inc/actions.php b/inc/actions.php index 4143416bb..a268811dd 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -15,7 +15,6 @@ * * @author Andreas Gohr * @triggers ACTION_ACT_PREPROCESS - * @triggers ACTION_REGISTER * @triggers ACTION_HEADERS_SEND */ function act_dispatch(){ @@ -52,7 +51,7 @@ function act_dispatch(){ //register $nil = array(); - if($ACT == 'register' && $_POST['save'] && trigger_event('ACTION_REGISTER', $nil, 'register')){ + if($ACT == 'register' && $_POST['save'] && register()){ $ACT = 'login'; } @@ -391,7 +390,7 @@ function act_export($act){ exit; } - // try to run renderer #FIXME use cached instructions + // try to run renderer $mode = substr($act,7); $text = p_cached_output(wikiFN($ID,$REV), $mode); if(!is_null($text)){ -- cgit v1.2.3