aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-05-14 20:00:43 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-05-14 20:00:43 +0000
commit4e7fd503716d878ce2012d06c2b82aa35a988169 (patch)
treeac89bcfe8068a4e824c4ed51ecfe96c17c81e099 /engine/lib
parent4b1e3c8f7164bf1a31c14f23355c1adee8be0af2 (diff)
downloadelgg-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')
-rw-r--r--engine/lib/extender.php2
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 {