|
From: mhewitson <mhe...@us...> - 2007-06-25 18:37:41
|
Update of /cvsroot/mxbb/mx_blogs In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11321 Modified Files: weblogs.php Log Message: - updated to use mx_message_die Index: weblogs.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/weblogs.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** weblogs.php 7 Jun 2007 22:01:32 -0000 1.1 --- weblogs.php 25 Jun 2007 18:37:34 -0000 1.2 *************** *** 120,124 **** if( !$result = $db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, "Couldn't obtain mood data from database", "", __LINE__, __FILE__, $sql); } $mood_data = $db->sql_fetchrowset($result); --- 120,124 ---- if( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, "Couldn't obtain mood data from database", "", __LINE__, __FILE__, $sql); } $mood_data = $db->sql_fetchrowset($result); *************** *** 132,136 **** if( !$result = $db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, "Couldn't obtain action data from database", "", __LINE__, __FILE__, $sql); } $action_data = $db->sql_fetchrowset($result); --- 132,136 ---- if( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, "Couldn't obtain action data from database", "", __LINE__, __FILE__, $sql); } $action_data = $db->sql_fetchrowset($result); *************** *** 143,147 **** if ( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Error querying to find user weblog information', '', __LINE__, __FILE__, $sql); } --- 143,147 ---- if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Error querying to find user weblog information', '', __LINE__, __FILE__, $sql); } *************** *** 163,167 **** if ( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Could not query user weblog information', '', __LINE__, __FILE__, $sql); } --- 163,167 ---- if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query user weblog information', '', __LINE__, __FILE__, $sql); } *************** *** 232,236 **** if ( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Could not query user weblog information', '', __LINE__, __FILE__, $sql); } --- 232,236 ---- if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query user weblog information', '', __LINE__, __FILE__, $sql); } *************** *** 433,437 **** if ( $total_weblogs == 0 ) { ! message_die(GENERAL_MESSAGE, $lang['No_weblogs']); } --- 433,437 ---- if ( $total_weblogs == 0 ) { ! mx_message_die(GENERAL_MESSAGE, $lang['No_weblogs']); } |