aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-31 20:17:45 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-31 20:17:45 +0000
commit4426aedcb3b88226714a5bf5fc9f08c92d690c7c (patch)
treeced4d3f199d9197e1ac5b29425094aa745a0caf9
parentcfb5c669bfe6212c25c9ec012e4198eb51a0345b (diff)
downloadelgg-4426aedcb3b88226714a5bf5fc9f08c92d690c7c.tar.gz
elgg-4426aedcb3b88226714a5bf5fc9f08c92d690c7c.tar.bz2
Refs #2597: Deprecated Loggable::getObjectOwnerGUID()
git-svn-id: http://code.elgg.org/elgg/trunk@7171 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/classes/ElggData.php3
-rw-r--r--engine/classes/Loggable.php1
2 files changed, 3 insertions, 1 deletions
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