diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-09-17 18:47:51 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-09-17 18:47:51 +0000 |
commit | c1f332857fc3f0bf77081647758dda338aa70d27 (patch) | |
tree | 4105808cb3b2c7e89d8310a48ff02c4e58a71cf8 | |
parent | 1ac20eae82da66f4e29480d97ff8e1d5312ed59b (diff) | |
download | elgg-c1f332857fc3f0bf77081647758dda338aa70d27.tar.gz elgg-c1f332857fc3f0bf77081647758dda338aa70d27.tar.bz2 |
Fixes #2479: Removed unused actions init and registered "error" action.
git-svn-id: http://code.elgg.org/elgg/trunk@6950 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/actions.php | 17 |
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 |