aboutsummaryrefslogtreecommitdiff
path: root/mod/file
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-16 20:56:25 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-16 20:56:25 +0000
commit851b6f87d426ff60d21eeafd6d63ff241bb18b82 (patch)
tree6157f80d1f8ef58e208754ea7323f2e35b1bb743 /mod/file
parent00f085d2da3f7fc260597e9bd7493a9cb99115fc (diff)
downloadelgg-851b6f87d426ff60d21eeafd6d63ff241bb18b82.tar.gz
elgg-851b6f87d426ff60d21eeafd6d63ff241bb18b82.tar.bz2
Updated register_entity_url_handler => elgg_* in plugins. Used this regex: ([^_a-z])register_entity_url_handler\((.*),(.*,.*)\);
git-svn-id: http://code.elgg.org/elgg/trunk@8263 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file')
-rw-r--r--mod/file/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index 0421737b7..d77c082cc 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -32,7 +32,7 @@ function file_init() {
elgg_register_widget_type('filerepo', elgg_echo("file"), elgg_echo("file:widget:description"));
// Register URL handlers for files
- register_entity_url_handler('file_url_override', 'object', 'file');
+ elgg_register_entity_url_handler('object', 'file', 'file_url_override');
elgg_register_plugin_hook_handler('entity:icon:url', 'object', 'file_icon_url_override');
// Register granular notification for this object type