summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-12-02 22:26:50 -0500
committerEvan Prodromou <evan@controlyourself.ca>2008-12-02 22:26:50 -0500
commit8b3080faf4710ad86fcb56b2b193ac20a47a1c57 (patch)
tree611a22021adc3088eb671c4dbf7d9f8a238ce209 /actions
parent58beea9798678ad5cc6c0dd43604f5d8b8d4d5e8 (diff)
whitespace fixup in userauthorization
darcs-hash:20081203032650-5ed1f-1f9affd557cf958cdfe7ed224433199b22e1c56a.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/userauthorization.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/actions/userauthorization.php b/actions/userauthorization.php
index 96df8d146..ac0a0728c 100644
--- a/actions/userauthorization.php
+++ b/actions/userauthorization.php
@@ -415,12 +415,12 @@ class UserauthorizationAction extends Action {
if (strlen($listenee) > 255) {
throw new OAuthException("Listenee URI '$listenee' too long");
}
-
+
$other = User::staticGet('uri', $listenee);
if ($other) {
throw new OAuthException("Listenee URI '$listenee' is local user");
}
-
+
$remote = Remote_profile::staticGet('uri', $listenee);
if ($remote) {
$sub = new Subscription();
@@ -440,11 +440,11 @@ class UserauthorizationAction extends Action {
if (!common_valid_http_url($profile)) {
throw new OAuthException("Invalid profile URL '$profile'.");
}
-
+
if ($profile == common_local_url('showstream', array('nickname' => $nickname))) {
throw new OAuthException("Profile URL '$profile' is for a local user.");
}
-
+
$license = $req->get_parameter('omb_listenee_license');
if (!common_valid_http_url($license)) {
throw new OAuthException("Invalid license URL '$license'.");