]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Short-circuit bugs by defining Profile::getProfile()
authorEvan Prodromou <evan@status.net>
Sun, 18 Sep 2011 23:29:23 +0000 (19:29 -0400)
committerEvan Prodromou <evan@status.net>
Sun, 18 Sep 2011 23:29:23 +0000 (19:29 -0400)
classes/Profile.php

index b8178e9b660ebbab3678d01469ba7eb27e8f4d62..f61803dcd0b331a1f1b0dcbde85b356d52a0bc8c 100644 (file)
@@ -1430,4 +1430,11 @@ class Profile extends Managed_DataObject
            $profile->_fillAvatar($width, $avatars[$profile->id]);
        }
     }
+    
+    // Can't seem to find how to fix this.
+
+    function getProfile()
+    {
+        return $this;
+    }
 }