diff options
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/extender.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/engine/lib/extender.php b/engine/lib/extender.php index f3f3753bc..456a1f778 100644 --- a/engine/lib/extender.php +++ b/engine/lib/extender.php @@ -80,7 +80,17 @@ */ 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); } /** @@ -437,4 +447,4 @@ /** Register the hook */ register_plugin_hook("import", "all", "import_extender_plugin_hook", 2); -?>
\ No newline at end of file +?> |