From 4426aedcb3b88226714a5bf5fc9f08c92d690c7c Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sun, 31 Oct 2010 20:17:45 +0000 Subject: Refs #2597: Deprecated Loggable::getObjectOwnerGUID() git-svn-id: http://code.elgg.org/elgg/trunk@7171 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/ElggData.php | 3 ++- engine/classes/Loggable.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/engine/classes/ElggData.php b/engine/classes/ElggData.php index 7ab169c97..551f806f6 100644 --- a/engine/classes/ElggData.php +++ b/engine/classes/ElggData.php @@ -31,7 +31,6 @@ abstract class ElggData implements $this->attributes['time_created'] = ''; } - /** * Return an attribute or a piece of metadata. @@ -138,8 +137,10 @@ abstract class ElggData implements * Return the GUID of the owner of this object. * * @return int + * @deprecated 1.8 Use getOwner() instead */ public function getObjectOwnerGUID() { + elgg_deprecated_notice("The method getObjectOwnerGUID() was deprecated in Elgg 1.8. Use getOwner() instead.", 1.8); return $this->owner_guid; } diff --git a/engine/classes/Loggable.php b/engine/classes/Loggable.php index 98d131f38..36db8a692 100644 --- a/engine/classes/Loggable.php +++ b/engine/classes/Loggable.php @@ -59,6 +59,7 @@ interface Loggable { * Return the GUID of the owner of this object. * * @return int + * @deprecated 1.8 Use getOwner() instead */ public function getObjectOwnerGUID(); } \ No newline at end of file -- cgit v1.2.3