aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metadata.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-07 16:49:45 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-07 16:49:45 +0000
commit4311996b40c039a647e00d3fde15d9c1c1ee8551 (patch)
treeda5a59f06ce482ad2d0dde7c6f518bd6461daffa /engine/lib/metadata.php
parentb5baeb0969c42055f514903fd19e0648e4b77db7 (diff)
downloadelgg-4311996b40c039a647e00d3fde15d9c1c1ee8551.tar.gz
elgg-4311996b40c039a647e00d3fde15d9c1c1ee8551.tar.bz2
Introducing canEditMetadata
git-svn-id: https://code.elgg.org/elgg/trunk@1318 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/metadata.php')
-rw-r--r--engine/lib/metadata.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php
index 36c2e65c7..130749bdd 100644
--- a/engine/lib/metadata.php
+++ b/engine/lib/metadata.php
@@ -77,7 +77,7 @@
function canEdit() {
if ($entity = get_entity($this->get('entity_guid'))) {
- return $entity->canEdit();
+ return $entity->canEditMetadata();
}
return false;