forked from GNUsocial/gnu-social
change profile argument to nickname
darcs-hash:20080517191430-84dde-bdaffcd7b2704a8a3636db7c7ebbc43c8d826198.gz
This commit is contained in:
parent
66d1ad9811
commit
5bf2853b60
@ -30,7 +30,7 @@ class ShowstreamAction extends StreamAction {
|
|||||||
|
|
||||||
parent::handle($args);
|
parent::handle($args);
|
||||||
|
|
||||||
$nickname = common_canonical_nickname($this->arg('profile'));
|
$nickname = common_canonical_nickname($this->arg('nickname'));
|
||||||
$user = User::staticGet('nickname', $nickname);
|
$user = User::staticGet('nickname', $nickname);
|
||||||
|
|
||||||
if (!$user) {
|
if (!$user) {
|
||||||
@ -171,7 +171,7 @@ class ShowstreamAction extends StreamAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
common_element('a', array('href' => common_local_url('subscriptions',
|
common_element('a', array('href' => common_local_url('subscriptions',
|
||||||
array('profile' => $profile->nickname)),
|
array('nickname' => $profile->nickname)),
|
||||||
'class' => 'moresubscriptions'),
|
'class' => 'moresubscriptions'),
|
||||||
_t('All subscriptions'));
|
_t('All subscriptions'));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user