diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 20:42:58 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 20:42:58 +0000 |
commit | 5cc5b3f17f8c4bab7998dbaccc89f914accddf39 (patch) | |
tree | ed4ef9f479eb51e16dcda15e9f8ce14aabc8262d /engine/lib/metadata.php | |
parent | 9c7b7c54635377def3bd48cfe8491dfb0e3b9b8a (diff) | |
download | elgg-5cc5b3f17f8c4bab7998dbaccc89f914accddf39.tar.gz elgg-5cc5b3f17f8c4bab7998dbaccc89f914accddf39.tar.bz2 |
Fixes #2860: Deprecated several registration functions that were using the 'callback-first' ordering
git-svn-id: http://code.elgg.org/elgg/trunk@8257 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/metadata.php')
-rw-r--r-- | engine/lib/metadata.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index 230bce50f..3182ed077 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -875,8 +875,8 @@ function metadata_update($event, $object_type, $object) { * * @return bool */ -function register_metadata_url_handler($function_name, $extender_name = "all") { - return register_extender_url_handler($function_name, 'metadata', $extender_name); +function elgg_register_metadata_url_handler($extender_name, $function) { + return elgg_register_extender_url_handler('metadata', $extender_name, $function); } /** Register the hook */ |