aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/extender.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-06 12:01:31 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-06 12:01:31 +0000
commit9d3a3c457c672567a65600666a44c8de594c729d (patch)
tree818b37fe9f019fb98fd389b5cb84a189d494aca8 /engine/lib/extender.php
parentb752befd19233618c7681ce29308cd485502dd5e (diff)
downloadelgg-9d3a3c457c672567a65600666a44c8de594c729d.tar.gz
elgg-9d3a3c457c672567a65600666a44c8de594c729d.tar.bz2
Some tidying of objects and opendd export
git-svn-id: https://code.elgg.org/elgg/trunk@2412 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/extender.php')
-rw-r--r--engine/lib/extender.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/engine/lib/extender.php b/engine/lib/extender.php
index f1077b454..988899409 100644
--- a/engine/lib/extender.php
+++ b/engine/lib/extender.php
@@ -129,11 +129,7 @@
*/
public function export()
{
- $type = $this->attributes['type'];
- if ($type == 'volatile')
- $uuid = guid_to_uuid($this->entity_guid). $type . "/{$this->name}/";
- else
- $uuid = guid_to_uuid($this->entity_guid). $type . "/{$this->id}/";
+ $uuid = get_uuid_from_object($this);
$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));