diff --git a/lib/profileaction.php b/lib/profileaction.php index bdcd575b6b..22c960406a 100644 --- a/lib/profileaction.php +++ b/lib/profileaction.php @@ -336,23 +336,3 @@ abstract class ProfileAction extends ManagedAction } } } - -class SubscribersMiniList extends ProfileMiniList -{ - function newListItem($profile) - { - return new SubscribersMiniListItem($profile, $this->action); - } -} - -class SubscribersMiniListItem extends ProfileMiniListItem -{ - function linkAttributes() - { - $aAttrs = parent::linkAttributes(); - if (common_config('nofollow', 'subscribers')) { - $aAttrs['rel'] .= ' nofollow'; - } - return $aAttrs; - } -} diff --git a/lib/subscribersminilist.php b/lib/subscribersminilist.php new file mode 100644 index 0000000000..79188330a1 --- /dev/null +++ b/lib/subscribersminilist.php @@ -0,0 +1,11 @@ +action); + } +} diff --git a/lib/subscribersminilistitem.php b/lib/subscribersminilistitem.php new file mode 100644 index 0000000000..3cd618e55b --- /dev/null +++ b/lib/subscribersminilistitem.php @@ -0,0 +1,15 @@ +