aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-09 16:38:22 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-09 16:38:22 +0000
commit1cdfbf3122ee28047f5f6409cf1c0d6b3ce8902a (patch)
tree7a6226615867f9598a2b0f09ce9ff772810a5350 /engine/lib/users.php
parentb5f8554d32f0ab1a1f0fe34688694cc75539e729 (diff)
downloadelgg-1cdfbf3122ee28047f5f6409cf1c0d6b3ce8902a.tar.gz
elgg-1cdfbf3122ee28047f5f6409cf1c0d6b3ce8902a.tar.bz2
git-svn-id: https://code.elgg.org/elgg/trunk@840 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 093ecc6aa..ec22db239 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -150,9 +150,9 @@
// Now save specific stuff
$result = create_user_entity($this->get('guid'), $this->get('name'), $this->get('username'), $this->get('password'), $this->get('email'), $this->get('language'), $this->get('code'));
- echo "ANOTHER LOAD: ".$this->attributes['tables_loaded'];
+
// Increment the portion counter
- $this->attributes['tables_loaded'] ++;
+ if ($result) $this->attributes['tables_loaded'] ++;
return $result;
}