check URI before sending
darcs-hash:20081118192227-84dde-3318e91d2366f3cb70bc795e313072f8e81a190c.gz
This commit is contained in:
parent
a179a816b5
commit
7877e86506
@ -136,6 +136,11 @@ class RemotesubscribeAction extends Action {
|
||||
$this->show_form(_('That\'s a local profile! Login to subscribe.'));
|
||||
return;
|
||||
}
|
||||
|
||||
if (User::staticGet('uri', omb_local_id($omb[OAUTH_ENDPOINT_REQUEST]))) {
|
||||
$this->show_form(_('That\'s a local profile! Login to subscribe.'));
|
||||
return;
|
||||
}
|
||||
|
||||
list($token, $secret) = $this->request_token($omb);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user