diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-05-14 20:00:43 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-05-14 20:00:43 +0000 |
commit | 4e7fd503716d878ce2012d06c2b82aa35a988169 (patch) | |
tree | ac89bcfe8068a4e824c4ed51ecfe96c17c81e099 /engine/lib/extender.php | |
parent | 4b1e3c8f7164bf1a31c14f23355c1adee8be0af2 (diff) | |
download | elgg-4e7fd503716d878ce2012d06c2b82aa35a988169.tar.gz elgg-4e7fd503716d878ce2012d06c2b82aa35a988169.tar.bz2 |
not using deprecated get_annotation/get_metadata functions in can_edit_extender()
git-svn-id: http://code.elgg.org/elgg/trunk@9081 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/extender.php')
-rw-r--r-- | engine/lib/extender.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/extender.php b/engine/lib/extender.php index ab04ea674..50b05579b 100644 --- a/engine/lib/extender.php +++ b/engine/lib/extender.php @@ -132,7 +132,7 @@ function can_edit_extender($extender_id, $type, $user_guid = 0) { $user = elgg_get_logged_in_user_entity(); } - $functionname = "get_{$type}"; + $functionname = "elgg_get_{$type}_from_id"; if (is_callable($functionname)) { $extender = $functionname($extender_id); } else { |