aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-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