aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metadata.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/metadata.php')
-rw-r--r--engine/lib/metadata.php17
1 files changed, 1 insertions, 16 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php
index d05688ea3..5a91c6536 100644
--- a/engine/lib/metadata.php
+++ b/engine/lib/metadata.php
@@ -19,7 +19,7 @@
* @package Elgg
* @subpackage Core
*/
- class ElggMetadata extends ElggExtender implements Exportable
+ class ElggMetadata extends ElggExtender
{
/**
@@ -95,21 +95,6 @@
return delete_metadata($this->id);
}
- /**
- * Export this object
- *
- * @return array
- */
- public function export()
- {
- $type = "metadata";
- $uuid = guid_to_uuid($this->entity_guid). $type . "/{$this->id}/";
-
- $meta = new ODDMetadata($uuid, guid_to_uuid($this->entity_guid), $this->attributes[$name], $this->attributes['value'], $type, guid_to_uuid($this->owner_guid));
- $meta->setAttribute('published', date("r", $this->time_created));
-
- return $meta;
- }
}
/**