check URI before sending
darcs-hash:20081118192227-84dde-3318e91d2366f3cb70bc795e313072f8e81a190c.gz
This commit is contained in:
parent
a179a816b5
commit
7877e86506
|
@ -137,6 +137,11 @@ class RemotesubscribeAction extends Action {
|
||||||
return;
|
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);
|
list($token, $secret) = $this->request_token($omb);
|
||||||
|
|
||||||
if (!$token || !$secret) {
|
if (!$token || !$secret) {
|
||||||
|
|
Loading…
Reference in New Issue