aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/actions.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/actions.php')
-rw-r--r--engine/lib/actions.php17
1 files changed, 1 insertions, 16 deletions
diff --git a/engine/lib/actions.php b/engine/lib/actions.php
index b889476b3..6b2967964 100644
--- a/engine/lib/actions.php
+++ b/engine/lib/actions.php
@@ -177,19 +177,6 @@ function register_action($action, $public = false, $filename = "", $admin_only =
}
/**
- * 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.
*
* Calls to actions will automatically validate tokens.
@@ -352,6 +339,4 @@ function elgg_action_exist($action) {
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