return true;
}
-/**
- * Actions to perform on initialisation
- *
- * @param string $event Events API required parameters
- * @param string $object_type Events API required parameters
- * @param string $object Events API required parameters
- * @todo remove
- */
-function actions_init($event, $object_type, $object) {
- register_action("error");
- return true;
-}
-
/**
* Validate an action token.
*
global $CONFIG;
return (isset($CONFIG->actions[$action]) && file_exists($CONFIG->actions[$action]['file']));
-}
-
-register_elgg_event_handler("init", "system", "actions_init");
\ No newline at end of file
+}
\ No newline at end of file