aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 12:01:14 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-30 12:01:14 +0000
commit85bcd1cf55a895d66b1872d7943dd7daf7aaa1f7 (patch)
tree57d4fb554be612ffecb71e9d3e4120e7f85977e6 /engine/lib
parent33151234eec9e5129a1ce8bd1fca25e40ce8147d (diff)
downloadelgg-85bcd1cf55a895d66b1872d7943dd7daf7aaa1f7.tar.gz
elgg-85bcd1cf55a895d66b1872d7943dd7daf7aaa1f7.tar.bz2
Using guid_to_uuid
git-svn-id: https://code.elgg.org/elgg/trunk@1594 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/relationships.php4
1 files changed, 1 insertions, 3 deletions
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,