Skip to content
Snippets Groups Projects
Commit 9df77460 authored by MegaChriz's avatar MegaChriz
Browse files

by MegaChriz: corrected a few indentations in plugins/FeedsUserProcessor.inc.

parent a87ff3e5
No related branches found
No related tags found
No related merge requests found
...@@ -210,16 +210,16 @@ class FeedsUserProcessor extends FeedsProcessor { ...@@ -210,16 +210,16 @@ class FeedsUserProcessor extends FeedsProcessor {
'name' => t('User name'), 'name' => t('User name'),
'description' => t('Name of the user.'), 'description' => t('Name of the user.'),
'optional_unique' => TRUE, 'optional_unique' => TRUE,
), ),
'mail' => array( 'mail' => array(
'name' => t('Email address'), 'name' => t('Email address'),
'description' => t('Email address of the user.'), 'description' => t('Email address of the user.'),
'optional_unique' => TRUE, 'optional_unique' => TRUE,
), ),
'created' => array( 'created' => array(
'name' => t('Created date'), 'name' => t('Created date'),
'description' => t('The created (e. g. joined) data of the user.'), 'description' => t('The created (e. g. joined) data of the user.'),
), ),
'pass' => array( 'pass' => array(
'name' => t('Unencrypted Password'), 'name' => t('Unencrypted Password'),
'description' => t('The unencrypted user password.'), 'description' => t('The unencrypted user password.'),
...@@ -244,7 +244,7 @@ class FeedsUserProcessor extends FeedsProcessor { ...@@ -244,7 +244,7 @@ class FeedsUserProcessor extends FeedsProcessor {
'name' => t('OpenID identifier'), 'name' => t('OpenID identifier'),
'description' => t('The OpenID identifier of the user. <strong>CAUTION:</strong> Use only for migration purposes, misconfiguration of the OpenID identifier can lead to severe security breaches like users gaining access to accounts other than their own.'), 'description' => t('The OpenID identifier of the user. <strong>CAUTION:</strong> Use only for migration purposes, misconfiguration of the OpenID identifier can lead to severe security breaches like users gaining access to accounts other than their own.'),
'optional_unique' => TRUE, 'optional_unique' => TRUE,
); );
} }
$this->getHookTargets($targets); $this->getHookTargets($targets);
...@@ -267,9 +267,11 @@ class FeedsUserProcessor extends FeedsProcessor { ...@@ -267,9 +267,11 @@ class FeedsUserProcessor extends FeedsProcessor {
case 'name': case 'name':
$uid = db_query("SELECT uid FROM {users} WHERE name = :name", array(':name' => $value))->fetchField(); $uid = db_query("SELECT uid FROM {users} WHERE name = :name", array(':name' => $value))->fetchField();
break; break;
case 'mail': case 'mail':
$uid = db_query("SELECT uid FROM {users} WHERE mail = :mail", array(':mail' => $value))->fetchField(); $uid = db_query("SELECT uid FROM {users} WHERE mail = :mail", array(':mail' => $value))->fetchField();
break; break;
case 'openid': case 'openid':
$uid = db_query("SELECT uid FROM {authmap} WHERE authname = :authname AND module = 'openid'", array(':authname' => $value))->fetchField(); $uid = db_query("SELECT uid FROM {authmap} WHERE authname = :authname AND module = 'openid'", array(':authname' => $value))->fetchField();
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment