|
From: Jon O. <jon...@us...> - 2005-10-24 20:13:53
|
Update of /cvsroot/mxbb/mx_act/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv503/modules/mx_act/includes Modified Files: act_functions.php rewards_api.php Log Message: replaced all message_die with mx_message_die Index: rewards_api.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/rewards_api.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** rewards_api.php 1 Oct 2005 14:11:39 -0000 1.4 --- rewards_api.php 24 Oct 2005 20:13:32 -0000 1.5 *************** *** 33,37 **** if ( !$db->sql_query( $sql ) ) { ! mx_mx_message_die( GENERAL_ERROR, "Failed to add rewards", "", __LINE__, __FILE__, $sql ); } } --- 33,37 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, "Failed to add rewards", "", __LINE__, __FILE__, $sql ); } } Index: act_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_functions.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** act_functions.php 1 Oct 2005 14:11:39 -0000 1.4 --- act_functions.php 24 Oct 2005 20:13:32 -0000 1.5 *************** *** 126,130 **** if ( !( $result = $db->sql_query( $sql ) ) ) { ! message_die( GENERAL_MESSAGE, $lang['No_such_user'] ); } --- 126,130 ---- if ( !( $result = $db->sql_query( $sql ) ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['No_such_user'] ); } *************** *** 144,148 **** if ( !$result = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not find oldest privmsgs (inbox)', '', __LINE__, __FILE__, $sql ); } $old_privmsgs_id = $db->sql_fetchrow( $result ); --- 144,148 ---- if ( !$result = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not find oldest privmsgs (inbox)', '', __LINE__, __FILE__, $sql ); } $old_privmsgs_id = $db->sql_fetchrow( $result ); *************** *** 154,158 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs (inbox)' . $sql, '', __LINE__, __FILE__, $sql ); } --- 154,158 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs (inbox)' . $sql, '', __LINE__, __FILE__, $sql ); } *************** *** 162,166 **** if ( !$db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs text (inbox)', '', __LINE__, __FILE__, $sql ); } } --- 162,166 ---- if ( !$db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs text (inbox)', '', __LINE__, __FILE__, $sql ); } } *************** *** 172,176 **** if ( !$db->sql_query( $sql_info ) ) { ! message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs text (inbox)', '', __LINE__, __FILE__, $sql_info ); } --- 172,176 ---- if ( !$db->sql_query( $sql_info ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not delete oldest privmsgs text (inbox)', '', __LINE__, __FILE__, $sql_info ); } *************** *** 181,185 **** if ( !$db->sql_query( $sql, END_TRANSACTION ) ) { ! message_die( GENERAL_ERROR, "Could not insert/update private message sent text.", "", __LINE__, __FILE__, $sql ); } --- 181,185 ---- if ( !$db->sql_query( $sql, END_TRANSACTION ) ) { ! mx_message_die( GENERAL_ERROR, "Could not insert/update private message sent text.", "", __LINE__, __FILE__, $sql ); } *************** *** 189,193 **** if ( !$status = $db->sql_query( $sql ) ) { ! message_die( GENERAL_ERROR, 'Could not update private message new/read status for user', '', __LINE__, __FILE__, $sql ); } --- 189,193 ---- if ( !$status = $db->sql_query( $sql ) ) { ! mx_message_die( GENERAL_ERROR, 'Could not update private message new/read status for user', '', __LINE__, __FILE__, $sql ); } |