make some static functions public for OStatus_profile

This commit is contained in:
Evan Prodromou 2010-09-21 06:13:19 -04:00
parent ab24007f4c
commit f7ec40fa42

View File

@ -1088,7 +1088,7 @@ class Ostatus_profile extends Memcached_DataObject
* @return mixed URL string or false * @return mixed URL string or false
*/ */
protected static function getActivityObjectAvatar($object, $hints=array()) public static function getActivityObjectAvatar($object, $hints=array())
{ {
if ($object->avatarLinks) { if ($object->avatarLinks) {
$best = false; $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); $orig = clone($profile);
@ -1518,7 +1518,7 @@ class Ostatus_profile extends Memcached_DataObject
return $bio; return $bio;
} }
protected static function getActivityObjectNickname($object, $hints=array()) public static function getActivityObjectNickname($object, $hints=array())
{ {
if ($object->poco) { if ($object->poco) {
if (!empty($object->poco->preferredUsername)) { if (!empty($object->poco->preferredUsername)) {