aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/relationships.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/relationships.php')
-rw-r--r--engine/lib/relationships.php6
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;
}