|
From: Jon O. <jon...@us...> - 2006-06-26 21:32:26
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv12094/admin Modified Files: admin_mx_chkobjs.php admin_mx_gen_cache.php Log Message: A few fixes related to new mx_text class, and other minor fixes Index: admin_mx_chkobjs.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_chkobjs.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** admin_mx_chkobjs.php 17 Jun 2006 20:09:05 -0000 1.18 --- admin_mx_chkobjs.php 26 Jun 2006 21:32:22 -0000 1.19 *************** *** 196,200 **** $sql = "SELECT * FROM ".$table." ORDER BY ".implode(',', $fkey); $result = $db->sql_query($sql); - $db->sql_freeresult($result); if( !$result ) --- 196,199 ---- *************** *** 271,274 **** --- 270,275 ---- $html.='</table><br />' . "\n"; + + $db->sql_freeresult($result); echo $html; } Index: admin_mx_gen_cache.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_gen_cache.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** admin_mx_gen_cache.php 17 Jun 2006 20:09:05 -0000 1.23 --- admin_mx_gen_cache.php 26 Jun 2006 21:32:22 -0000 1.24 *************** *** 50,61 **** // Update mxBB page/block cache // ! $mx_cache->trash(); //Empty cache folder ! $mx_cache->update(); //Rgenerate all page_ and block_ files // // Update config/custom cache // ! $mx_cache->tidy(); //Not really needed ! $mx_cache->unload(); //Regenerate data_global.php $message = $lang['Cache_generate']; --- 50,63 ---- // Update mxBB page/block cache // ! $mx_cache->trash(); // Empty cache folder ! $mx_cache->update(); // Rgenerate all page_ and block_ files // // Update config/custom cache // ! $mx_cache->tidy(); // Not really needed ! $mx_cache->destroy('phpbb_config'); // Not really needed ! $mx_cache->destroy('mxbb_config'); // Not really needed ! $mx_cache->unload(); // Regenerate data_global.php $message = $lang['Cache_generate']; |