]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
make some static functions public for OStatus_profile
authorEvan Prodromou <evan@status.net>
Tue, 21 Sep 2010 10:13:19 +0000 (06:13 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 21 Sep 2010 10:13:19 +0000 (06:13 -0400)
plugins/OStatus/classes/Ostatus_profile.php

index 19fe5169b4f19b32dbcb112f538745b28d17d159..bf2bcb44ffb8c5e207535e874e787379afe960a9 100644 (file)
@@ -1088,7 +1088,7 @@ class Ostatus_profile extends Memcached_DataObject
      * @return mixed URL string or false
      */
 
-    protected static function getActivityObjectAvatar($object, $hints=array())
+    public static function getActivityObjectAvatar($object, $hints=array())
     {
         if ($object->avatarLinks) {
             $best = false;
@@ -1390,7 +1390,7 @@ class Ostatus_profile extends Memcached_DataObject
         }
     }
 
-    protected static function updateProfile($profile, $object, $hints=array())
+    public static function updateProfile($profile, $object, $hints=array())
     {
         $orig = clone($profile);
 
@@ -1518,7 +1518,7 @@ class Ostatus_profile extends Memcached_DataObject
         return $bio;
     }
 
-    protected static function getActivityObjectNickname($object, $hints=array())
+    public static function getActivityObjectNickname($object, $hints=array())
     {
         if ($object->poco) {
             if (!empty($object->poco->preferredUsername)) {