summaryrefslogtreecommitdiff
path: root/plugins/OpenID
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-11-09 20:01:46 +0100
committerBrion Vibber <brion@pobox.com>2009-11-09 20:01:46 +0100
commit088081675fb7d5250a9b9dfe5015de0822cb5ac2 (patch)
tree6b875217286883172802f0565291e2b4d15a8b5c /plugins/OpenID
parent8e58f241739b97bd53f78035781f16e2067a31d9 (diff)
Revert "Remove more contractions"
This reverts commit 5ab709b73977131813884558bf56d97172a7aa26. Missed this one yesterday...
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 b5d978294..ff0b451d3 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 do not have to return to it again
+ # We don't 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 will not work
+ # If any of these parts exist, this won't work
foreach ($bad as $badpart) {
if (array_key_exists($badpart, $parts)) {
diff --git a/plugins/OpenID/openid.php b/plugins/OpenID/openid.php
index c5f6d1713..ff7a93899 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 do not escape ampersands
+ # XXX: This is cheap, but things choke if we don't escape ampersands
# in the HTML attributes
$form_html = preg_replace('/&/', '&amp;', $form_html);