summaryrefslogtreecommitdiff
path: root/plugins/OpenID
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-08 23:10:34 +0000
committerSarven Capadisli <csarven@status.net>2009-11-08 23:10:34 +0000
commit8e58f241739b97bd53f78035781f16e2067a31d9 (patch)
tree8ad366f5f408d1181b1816f607a120fe0c91c502 /plugins/OpenID
parent2a0a363e1d846334bc37d46b5f6f42e64a5a96eb (diff)
parentb78a35ec73980d8dfa2fcb68ef81936f4b3c110b (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins/OpenID')
-rw-r--r--plugins/OpenID/finishopenidlogin.php4
-rw-r--r--plugins/OpenID/openid.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/OpenID/finishopenidlogin.php b/plugins/OpenID/finishopenidlogin.php
index ff0b451d3..b5d978294 100644
--- a/plugins/OpenID/finishopenidlogin.php
+++ b/plugins/OpenID/finishopenidlogin.php
@@ -341,7 +341,7 @@ class FinishopenidloginAction extends Action
{
$url = common_get_returnto();
if ($url) {
- # We don't have to return to it again
+ # We do not have to return to it again
common_set_returnto(null);
} else {
$url = common_local_url('all',
@@ -421,7 +421,7 @@ class FinishopenidloginAction extends Action
$parts = parse_url($openid);
- # If any of these parts exist, this won't work
+ # If any of these parts exist, this will not work
foreach ($bad as $badpart) {
if (array_key_exists($badpart, $parts)) {
diff --git a/plugins/OpenID/openid.php b/plugins/OpenID/openid.php
index ff7a93899..c5f6d1713 100644
--- a/plugins/OpenID/openid.php
+++ b/plugins/OpenID/openid.php
@@ -187,7 +187,7 @@ function oid_authenticate($openid_url, $returnto, $immediate=false)
$form_html = $auth_request->formMarkup($trust_root, $process_url,
$immediate, array('id' => $form_id));
- # XXX: This is cheap, but things choke if we don't escape ampersands
+ # XXX: This is cheap, but things choke if we do not escape ampersands
# in the HTML attributes
$form_html = preg_replace('/&/', '&amp;', $form_html);