aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-24 09:05:45 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-24 09:05:45 +0000
commiteddb94b493ac1799759e3de1ac431f614ebbe7b7 (patch)
tree28a03fe35a1536b043c4b889048857f63bb43f79 /engine
parenta5c6e57d14eca2185f62bfbba9138bf48ffbed1b (diff)
downloadelgg-eddb94b493ac1799759e3de1ac431f614ebbe7b7.tar.gz
elgg-eddb94b493ac1799759e3de1ac431f614ebbe7b7.tar.bz2
Correctly exporting site and container as opendd
git-svn-id: https://code.elgg.org/elgg/trunk@1506 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/entities.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 5e52837aa..56c5df434 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -618,6 +618,18 @@
case 'time_created' : // Created = published
$odd->setAttribute('published', date("r", $v));
break;
+
+ case 'site_guid' : // Container
+ $k = 'site_uuid';
+ $v = guid_to_uuid($v);
+ $meta = new ODDMetaData($uuid . "attr/$k/", $uuid, $k, $v);
+ break;
+
+ case 'container_guid' : // Container
+ $k = 'container_uuid';
+ $v = guid_to_uuid($v);
+ $meta = new ODDMetaData($uuid . "attr/$k/", $uuid, $k, $v);
+ break;
case 'owner_guid' : // Convert owner guid to uuid, this will be stored in metadata
$k = 'owner_uuid';