Change use of self_url to selfUrl
This commit is contained in:
parent
321d52a15c
commit
727d9e8865
|
@ -26,7 +26,7 @@ class ConfirmaddressAction extends Action
|
||||||
{
|
{
|
||||||
parent::handle($args);
|
parent::handle($args);
|
||||||
if (!common_logged_in()) {
|
if (!common_logged_in()) {
|
||||||
common_set_returnto($this->self_url());
|
common_set_returnto($this->selfUrl());
|
||||||
common_redirect(common_local_url('login'));
|
common_redirect(common_local_url('login'));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,7 +93,7 @@ class TagotherAction extends Action
|
||||||
$this->elementStart('form', array('method' => 'post',
|
$this->elementStart('form', array('method' => 'post',
|
||||||
'id' => 'tag_user',
|
'id' => 'tag_user',
|
||||||
'name' => 'tagother',
|
'name' => 'tagother',
|
||||||
'action' => $this->self_url()));
|
'action' => $this->selfUrl()));
|
||||||
$this->hidden('token', common_session_token());
|
$this->hidden('token', common_session_token());
|
||||||
$this->hidden('id', $profile->id);
|
$this->hidden('id', $profile->id);
|
||||||
$this->input('tags', _('Tags'),
|
$this->input('tags', _('Tags'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user