Also, this fixes a bug with checking permissions on annotations.
git-svn-id: https://code.elgg.org/elgg/trunk@3487
36083f99-b078-4883-b0ff-
0f9b5a30f544
*/
public function getOwner()
{
- return get_user($this->owner_guid);
+ return $this->owner_guid;
+ }
+
+ /**
+ * Return the owner entity
+ *
+ * @return mixed
+ */
+ public function getOwnerEntity()
+ {
+ return get_user($this->owner_guid);
}
/**
/** Register the hook */
register_plugin_hook("import", "all", "import_extender_plugin_hook", 2);
-?>
\ No newline at end of file
+?>