From 72a23a6b2bae1cf907484b435987dce0c16e66f0 Mon Sep 17 00:00:00 2001 From: icewing Date: Mon, 9 Jun 2008 16:30:26 +0000 Subject: Marcus Povey * Added table counter git-svn-id: https://code.elgg.org/elgg/trunk@837 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/users.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'engine/lib/users.php') diff --git a/engine/lib/users.php b/engine/lib/users.php index 2466170fa..2718d18b9 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -149,7 +149,12 @@ return false; // Now save specific stuff - return create_user_entity($this->get('guid'), $this->get('name'), $this->get('username'), $this->get('password'), $this->get('email'), $this->get('language'), $this->get('code')); + $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')); + + // Increment the portion counter + if ($result) $this->attributes['tables_loaded'] ++; + + return $result; } /** -- cgit v1.2.3