summaryrefslogtreecommitdiff
path: root/modules/openid
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-01-30 07:59:26 +0000
committerDries Buytaert <dries@buytaert.net>2010-01-30 07:59:26 +0000
commitea51c3215bc3defc45e87619f7b2232f85895fef (patch)
treedcef9202a1fec6385914c4ee48b13e80c25f3ce2 /modules/openid
parent1e8da1f9ae32ccd1c6d19e24215e1cb293e97bbf (diff)
downloadbrdo-ea51c3215bc3defc45e87619f7b2232f85895fef.tar.gz
brdo-ea51c3215bc3defc45e87619f7b2232f85895fef.tar.bz2
- Patch #606526 by axyjo, scor: remove trailing whitespaces and add newlines at end of files.
Diffstat (limited to 'modules/openid')
-rw-r--r--modules/openid/openid.css2
-rw-r--r--modules/openid/openid.pages.inc4
-rw-r--r--modules/openid/openid.test10
-rw-r--r--modules/openid/xrds.inc2
4 files changed, 9 insertions, 9 deletions
diff --git a/modules/openid/openid.css b/modules/openid/openid.css
index c752cc260..63d1c01c6 100644
--- a/modules/openid/openid.css
+++ b/modules/openid/openid.css
@@ -37,4 +37,4 @@ html.js #user-login li.openid-link {
#user-login li.openid-link a {
background: transparent url("login-bg.png") no-repeat 0 2px;
padding: 0 20px;
-} \ No newline at end of file
+}
diff --git a/modules/openid/openid.pages.inc b/modules/openid/openid.pages.inc
index eb8da817c..87a4c89a3 100644
--- a/modules/openid/openid.pages.inc
+++ b/modules/openid/openid.pages.inc
@@ -54,8 +54,8 @@ function openid_user_identities($account) {
}
$build['openid_table'] = array(
- '#theme' => 'table',
- '#header' => $header,
+ '#theme' => 'table',
+ '#header' => $header,
'#rows' => $rows,
);
$build['openid_user_add'] = drupal_get_form('openid_user_add');
diff --git a/modules/openid/openid.test b/modules/openid/openid.test
index 3cdc88e63..17e29c540 100644
--- a/modules/openid/openid.test
+++ b/modules/openid/openid.test
@@ -154,7 +154,7 @@ class OpenIDFunctionalTest extends DrupalWebTestCase {
// Use a User-supplied Identity that is the URL of an XRDS document.
$identity = url('openid-test/yadis/xrds', array('absolute' => TRUE));
- // Tell openid_test.module to respond with these SREG fields.
+ // Tell openid_test.module to respond with these SREG fields.
variable_set('openid_test_response', array('openid.sreg.nickname' => 'john', 'openid.sreg.email' => 'john@example.com'));
// Fill out and submit the login form.
@@ -163,7 +163,7 @@ class OpenIDFunctionalTest extends DrupalWebTestCase {
// Check we are on the OpenID redirect form.
$this->assertTitle(t('OpenID redirect'), t('OpenID redirect page was displayed.'));
-
+
// Submit form to the OpenID Provider Endpoint.
$this->drupalPost(NULL, array(), t('Send'));
$this->assertLink('john', 0, t('User was logged in.'));
@@ -184,7 +184,7 @@ class OpenIDFunctionalTest extends DrupalWebTestCase {
// Use a User-supplied Identity that is the URL of an XRDS document.
$identity = url('openid-test/yadis/xrds', array('absolute' => TRUE));
- // Tell openid_test.module to respond with these SREG fields.
+ // Tell openid_test.module to respond with these SREG fields.
variable_set('openid_test_response', array('openid.sreg.nickname' => $this->web_user->name, 'openid.sreg.email' => 'mail@invalid#'));
// Fill out and submit the login form.
@@ -193,7 +193,7 @@ class OpenIDFunctionalTest extends DrupalWebTestCase {
// Check we are on the OpenID redirect form.
$this->assertTitle(t('OpenID redirect'), t('OpenID redirect page was displayed.'));
-
+
// Submit form to the OpenID Provider Endpoint.
$this->drupalPost(NULL, array(), t('Send'));
@@ -237,7 +237,7 @@ class OpenIDFunctionalTest extends DrupalWebTestCase {
// Check we are on the OpenID redirect form.
$this->assertTitle(t('OpenID redirect'), t('OpenID redirect page was displayed.'));
-
+
// Submit form to the OpenID Provider Endpoint.
$this->drupalPost(NULL, array(), t('Send'));
diff --git a/modules/openid/xrds.inc b/modules/openid/xrds.inc
index cd862cdec..8470997db 100644
--- a/modules/openid/xrds.inc
+++ b/modules/openid/xrds.inc
@@ -79,4 +79,4 @@ function _xrds_strip_namespace($name) {
}
return $name;
-} \ No newline at end of file
+}