|
From: Jon O. <jon...@us...> - 2005-05-01 16:42:07
|
Update of /cvsroot/mxbb/mx_pafiledb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1825/modules/mx_pafiledb Modified Files: db_uninstall.php Log Message: additional fixes - adding jumpbox Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/db_uninstall.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** db_uninstall.php 16 Jan 2005 01:04:00 -0000 1.7 --- db_uninstall.php 1 May 2005 16:41:28 -0000 1.8 *************** *** 42,45 **** --- 42,54 ---- // End session management } + + // For compatibility with core 2.7.+ + define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); + + if ( MXBB_27x ) + { + include_once( $mx_root_path . 'modules/mx_pafiledb/pafiledb/includes/functions_mx.' . $phpEx ); + } + $sql = array( "DROP TABLE " . $mx_table_prefix . "pa_cat ", "DROP TABLE " . $mx_table_prefix . "pa_auth ", |