summaryrefslogtreecommitdiff
path: root/plugins/SocialObject/SocialObject.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SocialObject/SocialObject.php')
-rw-r--r--plugins/SocialObject/SocialObject.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/SocialObject/SocialObject.php b/plugins/SocialObject/SocialObject.php
index f4b84dd9f..2d29e31d0 100644
--- a/plugins/SocialObject/SocialObject.php
+++ b/plugins/SocialObject/SocialObject.php
@@ -137,7 +137,6 @@ class SocialObject extends Memcached_DataObject
}
$this->free();
- $this = NULL;
return $ids;
}
@@ -327,7 +326,7 @@ class SocialObject extends Memcached_DataObject
# just return the $objects array, we can then use $notices->id
# each time to get the object associated
- return new array($notices, $objects);
+ return array($notices, $objects);
}
}
}