aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/export.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-24 10:09:31 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-24 10:09:31 +0000
commit199d3398098f60cb20a129283e57fbb72d6e1307 (patch)
tree5c2351c3a2ba7854a50e81a02d8affdeb5b3b9ad /engine/lib/export.php
parent7a62646de68459952fd0eefcbf62b35327a65646 (diff)
downloadelgg-199d3398098f60cb20a129283e57fbb72d6e1307.tar.gz
elgg-199d3398098f60cb20a129283e57fbb72d6e1307.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Removed ODD header element git-svn-id: https://code.elgg.org/elgg/trunk@516 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/export.php')
-rw-r--r--engine/lib/export.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/engine/lib/export.php b/engine/lib/export.php
index 26d31733b..6291853ca 100644
--- a/engine/lib/export.php
+++ b/engine/lib/export.php
@@ -91,7 +91,6 @@
public function __construct()
{
$this->body = "";
- $this->setAttribute('generated', date("r"));
}
public function setAttribute($key, $value) { $this->attributes[$key] = $value; }
@@ -235,7 +234,6 @@
switch ($name)
{
- case 'header' : $odd = new ODDHeader(); break;
case 'entity' : $odd = new ODDEntity("","",""); break;
case 'metadata' : $odd = new ODDMetaData("","","",""); break;
case 'relationship' : $odd = new ODDRelationship("","",""); break;
@@ -413,9 +411,6 @@
// Initialise the array
$to_be_serialised = array();
- // Set header
- $to_be_serialised[] = new ODDHeader();
-
// Trigger a hook to
$to_be_serialised = trigger_plugin_hook("export", "all", array("guid" => $guid), $to_be_serialised);