From 85bcd1cf55a895d66b1872d7943dd7daf7aaa1f7 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 30 Jul 2008 12:01:14 +0000 Subject: Using guid_to_uuid git-svn-id: https://code.elgg.org/elgg/trunk@1594 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/relationships.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engine/lib/relationships.php') diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php index 142861a97..8e9768a8c 100644 --- a/engine/lib/relationships.php +++ b/engine/lib/relationships.php @@ -117,9 +117,7 @@ */ public function export() { - global $CONFIG; - - $uuid = $CONFIG->wwwroot . "odd/{$this->guid_one}/relationship/{$this->id}/"; + $uuid = guid_to_uuid($this->guid_one) . "relationship/{$this->id}/"; $relationship = new ODDRelationship( guid_to_uuid($this->guid_one), $this->relationship, -- cgit v1.2.3