remove unused code from profile list
darcs-hash:20081208033132-5ed1f-ee93e5b26353c097ee1bdb8d3e4cedad5763548e.gz
This commit is contained in:
parent
5477532ea3
commit
71b682453d
@ -151,16 +151,6 @@ class ProfileList {
|
||||
common_element_end('div');
|
||||
}
|
||||
|
||||
if ($user) {
|
||||
$action = NULL;
|
||||
if ($user->isSubscribed($this->profile)) {
|
||||
$action = 'subscriptions';
|
||||
} else if (Subscription::pkeyGet(array('subscriber' => $this->profile->id,
|
||||
'subscribed' => $user->id))) {
|
||||
$action = 'subscribers';
|
||||
}
|
||||
}
|
||||
|
||||
common_element_end('li');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user