summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-08-01 19:03:28 +0200
committerAleksander Machniak <alec@alec.pl>2012-08-01 19:03:28 +0200
commit622bce2c09a8ea3d2de949b17ae0a1e2382bdcff (patch)
tree187fd1f2ac9c05968610af61c464728b03a1c515
parent5cb8f9ff3b5eb44c03128ffecc5167499f795b5c (diff)
Convert tabs to spaces
-rw-r--r--program/include/rcube_user.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/program/include/rcube_user.php b/program/include/rcube_user.php
index 76f74da7c..24ded3d2d 100644
--- a/program/include/rcube_user.php
+++ b/program/include/rcube_user.php
@@ -479,23 +479,23 @@ class rcube_user
// create new identities records
$standard = 1;
foreach ($email_list as $row) {
- $record = array();
+ $record = array();
if (is_array($row)) {
- $record = $row;
+ $record = $row;
}
else {
$record['email'] = $row;
}
- if (empty($record['name']))
- $record['name'] = $user_name;
+ if (empty($record['name']))
+ $record['name'] = $user_name;
$record['name'] = strip_newlines($record['name']);
$record['user_id'] = $user_id;
$record['standard'] = $standard;
$plugin = $rcube->plugins->exec_hook('identity_create',
- array('login' => true, 'record' => $record));
+ array('login' => true, 'record' => $record));
if (!$plugin['abort'] && $plugin['record']['email']) {
$rcube->user->insert_identity($plugin['record']);