diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-11 17:39:24 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-11 17:39:24 +0000 |
commit | 46b7bce71977b0762d38acf5f7d597af221bab68 (patch) | |
tree | 5a05bbd6952ef2a7289b3855f08dee78fc210a98 /engine/lib/relationships.php | |
parent | df73163e0492bc8589dc65ba3ebff71be23be60f (diff) | |
download | elgg-46b7bce71977b0762d38acf5f7d597af221bab68.tar.gz elgg-46b7bce71977b0762d38acf5f7d597af221bab68.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* Entity ODD export
git-svn-id: https://code.elgg.org/elgg/trunk@435 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/relationships.php')
-rw-r--r-- | engine/lib/relationships.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php index 52418e500..5af01044a 100644 --- a/engine/lib/relationships.php +++ b/engine/lib/relationships.php @@ -126,7 +126,7 @@ * @return ElggRelationship * @throws ImportException */ - public function import(array $data, $version = 1) + public function import(ODD $data) { if ($version == 1) { @@ -363,7 +363,7 @@ { global $CONFIG; - // Sanity check values +/* // Sanity check values if ((!is_array($params)) && (!isset($params['guid']))) throw new InvalidParameterException("GUID has not been specified during export, this should never happen."); @@ -379,7 +379,7 @@ foreach ($result as $r) $returnvalue[] = $r; } - +*/ return $returnvalue; } |