]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #2597: Deprecated Loggable::getObjectOwnerGUID()
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 31 Oct 2010 20:17:45 +0000 (20:17 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 31 Oct 2010 20:17:45 +0000 (20:17 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7171 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/classes/ElggData.php
engine/classes/Loggable.php

index 7ab169c971b9dcfd6566d8f56ff7742e5d96997a..551f806f6d301c0c1e8e1dcc014e5fcd4c8ed9ac 100644 (file)
@@ -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;
        }
 
index 98d131f38e3e0e1a1143979647f6e9c6140afdb1..36db8a692d79fa31d69db1b977c49313883f20bf 100644 (file)
@@ -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