aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/annotations.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/annotations.php')
-rw-r--r--engine/lib/annotations.php17
1 files changed, 1 insertions, 16 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php
index 4302d27a6..5e59d2e88 100644
--- a/engine/lib/annotations.php
+++ b/engine/lib/annotations.php
@@ -26,7 +26,7 @@
* @subpackage Core
* @author Marcus Povey <marcus@dushka.co.uk>
*/
- class ElggAnnotation extends ElggExtender implements Exportable
+ class ElggAnnotation extends ElggExtender
{
/**
@@ -100,21 +100,6 @@
return delete_annotation($this->id);
}
- /**
- * Export this object
- *
- * @return array
- */
- public function export()
- {
- $type = "annotation";
- $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;
- }
}
/**