|
From: Jon O. <jon...@us...> - 2005-10-24 20:15:10
|
Update of /cvsroot/mxbb/mx_import_tools/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv721/modules/mx_import_tools/includes Modified Files: functions_mod_user.php Log Message: replaced all message_die with mx_message_die Index: functions_mod_user.php =================================================================== RCS file: /cvsroot/mxbb/mx_import_tools/includes/functions_mod_user.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** functions_mod_user.php 1 Oct 2005 14:13:17 -0000 1.3 --- functions_mod_user.php 24 Oct 2005 20:14:59 -0000 1.4 *************** *** 165,174 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql ); } if ( !( $row = $db->sql_fetchrow( $result ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql ); } $this->user_id = $row['total'] + 1; --- 165,174 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql ); } if ( !( $row = $db->sql_fetchrow( $result ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql ); } $this->user_id = $row['total'] + 1; *************** *** 235,244 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } if ( !( $row = $db->sql_fetchrow( $result ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } $this->user_id = $row['user_id']; --- 235,244 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } if ( !( $row = $db->sql_fetchrow( $result ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } $this->user_id = $row['user_id']; *************** *** 259,263 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } --- 259,263 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } *************** *** 297,306 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } if ( !( $row = $db->sql_fetchrow( $result ) ) ) { ! message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } $this->user_id = $row['user_id']; --- 297,306 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } if ( !( $row = $db->sql_fetchrow( $result ) ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not obtain user_id information', '', __LINE__, __FILE__, $sql ); } $this->user_id = $row['user_id']; *************** *** 379,383 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, "Couldn't get list of groups", "", __LINE__, __FILE__, $sql ); } --- 379,383 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Couldn't get list of groups", "", __LINE__, __FILE__, $sql ); } |