remove unused code from profile list

darcs-hash:20081208033132-5ed1f-ee93e5b26353c097ee1bdb8d3e4cedad5763548e.gz
This commit is contained in:
Evan Prodromou 2008-12-07 22:31:32 -05:00
parent 5477532ea3
commit 71b682453d

View File

@ -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');
}