diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-24 00:50:54 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-24 00:50:54 +0000 |
commit | 9c1e6d6463937bdee2d1de9735463a69f8af305d (patch) | |
tree | 8ae66e2c9533ebf21fcf6c1b96be58b140681b7b /engine/lib/actions.php | |
parent | 9f8dfe11118813e0f4c2808abb012171db61ec52 (diff) | |
download | elgg-9c1e6d6463937bdee2d1de9735463a69f8af305d.tar.gz elgg-9c1e6d6463937bdee2d1de9735463a69f8af305d.tar.bz2 |
Fixes #2655: Converted register_action to elgg_register_action throughout core
git-svn-id: http://code.elgg.org/elgg/trunk@7432 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/actions.php')
-rw-r--r-- | engine/lib/actions.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/engine/lib/actions.php b/engine/lib/actions.php index 8abd03d64..d95fe0435 100644 --- a/engine/lib/actions.php +++ b/engine/lib/actions.php @@ -51,7 +51,7 @@ * @param string $forwarder Optionally, the location to forward to * * @link http://docs.elgg.org/Actions -* @see register_action() +* @see elgg_register_action() * * @return void */ @@ -128,7 +128,7 @@ function action($action, $forwarder = "") { * * Actions should be namedspaced for your plugin. Example: * <code> - * register_action('myplugin/save_settings', ...); + * elgg_register_action('myplugin/save_settings', ...); * </code> * * @tip Put action files under the actions/ directory of your plugin. @@ -370,9 +370,8 @@ function elgg_action_exist($action) { /** * Initialize some ajaxy actions features */ -function actions_init() -{ - register_action('security/refreshtoken', TRUE); +function actions_init() { + elgg_register_action('security/refreshtoken', '', 'public'); elgg_view_register_simplecache('js/languages/en'); |