1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-24 07:03:06 +02:00

Add some work in progress - needs further testing

This commit is contained in:
e107steved
2009-07-20 21:18:09 +00:00
parent a7d01d2117
commit 727390e015
3 changed files with 41 additions and 12 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/import/import_user_class.php,v $
| $Revision: 1.1 $
| $Date: 2009-07-20 15:24:34 $
| $Author: e107coders $
| $Revision: 1.2 $
| $Date: 2009-07-20 21:18:09 $
| $Author: e107steved $
|
+----------------------------------------------------------------------------+
*/
@@ -95,7 +95,6 @@ class user_import
// Constructor
function user_import()
{
global $sql;
$this->userDB = new db; // Have our own database object to write to the user table
// Create list of predefined extended user fields which are present
@@ -155,7 +154,7 @@ class user_import
// Add a user record to the DB - pass array as parameter.
// Returns an error code on failure. TRUE on success
function saveData($userRecord)
function saveUserData($userRecord)
{
if ($this->blockMainAdmin && isset($userRecord['user_id']) && ($userRecord['user_id'] == 1)) return 1;
$extendedFields = array();