From: Steven L. <jyd...@us...> - 2004-10-25 17:36:03
|
Update of /cvsroot/phpwsbb/phpwsbb/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12183/boost Modified Files: update.php Log Message: Fixes for the upgrade bug being discussed on dev list Index: update.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/boost/update.php,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** update.php 25 Oct 2004 14:45:34 -0000 1.45 --- update.php 25 Oct 2004 17:35:22 -0000 1.46 *************** *** 148,152 **** if($status = $GLOBALS['core']->sqlUpdate(array('fid'=>$forum->getId()),'mod_phpwsbb_threads')) { $content .= 'Successfully added default forum and assigned all threads to it.<br />'; ! $forum->updateForum(); } } else { --- 148,152 ---- if($status = $GLOBALS['core']->sqlUpdate(array('fid'=>$forum->getId()),'mod_phpwsbb_threads')) { $content .= 'Successfully added default forum and assigned all threads to it.<br />'; ! $forum->updateForum(true); } } else { *************** *** 185,189 **** foreach($result as $rowid) { $thread = new PHPWSBB_Thread($rowid); ! $thread->updateThread(); } } --- 185,189 ---- foreach($result as $rowid) { $thread = new PHPWSBB_Thread($rowid); ! $thread->updateThread(false, true); } } *************** *** 299,303 **** foreach($result as $rowid) { $thread = new PHPWSBB_Thread($rowid); ! $thread->updateThread(); } } --- 299,303 ---- foreach($result as $rowid) { $thread = new PHPWSBB_Thread($rowid); ! $thread->updateThread(false, true); } } |