]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/User.php
Easy comparison of two Profile objects
[quix0rs-gnu-social.git] / classes / User.php
index 9ae0cba80437bdedbc61ae1a4c3286d6190ad957..72510f162ca8deb1fde12378423b41a63d98716d 100644 (file)
@@ -132,6 +132,11 @@ class User extends Managed_DataObject
         return $this->_profile[$this->id];
     }
 
+    public function sameAs(Profile $other)
+    {
+        return $this->getProfile()->sameAs($other);
+    }
+
     public function getUri()
     {
         return $this->uri;