summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2007-04-22 11:50:13 +0200
committerAndreas Gohr <andi@splitbrain.org>2007-04-22 11:50:13 +0200
commitb3510079a587393a3429d965de538bca9dd66ca7 (patch)
tree6288d81fac71b89dbcf9c7045a9d37626e82f2df /inc
parentb7b833623b06d894e33ae818a0275bb8e45e7922 (diff)
downloadrpg-b3510079a587393a3429d965de538bca9dd66ca7.tar.gz
rpg-b3510079a587393a3429d965de538bca9dd66ca7.tar.bz2
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
Diffstat (limited to 'inc')
-rw-r--r--inc/actions.php5
1 files changed, 2 insertions, 3 deletions
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 <andi@splitbrain.org>
* @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)){