From: Eloi G. <ada...@us...> - 2004-09-21 03:12:29
|
Update of /cvsroot/phpwsbb/phpwsbb/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15515/boost Modified Files: update.php Log Message: Disabled phpwsBB from triggering monitor emails while updating Index: update.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/boost/update.php,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** update.php 17 Sep 2004 15:56:36 -0000 1.40 --- update.php 21 Sep 2004 03:12:04 -0000 1.41 *************** *** 51,54 **** --- 51,57 ---- $status = 1; + // Don't trigger any monitors + $_REQUEST['run_silent'] = 1; + // This might not exist during update if (!isset($_SESSION['PHPWSBB_Manager'])) *************** *** 286,291 **** $content .= 'There was a problem creating the phpwsBB User Ranking table.<br />'; ! // if($status = $GLOBALS['core']->sqlCreateIndex('mod_phpwsbb_threads',array('fid'))) ! // $content .= 'Successfully added indexes.<br />'; if($status = $GLOBALS['core']->query('ALTER TABLE mod_phpwsbb_threads ADD lastpost_post_id int NOT NULL default "0"', TRUE)) { --- 289,294 ---- $content .= 'There was a problem creating the phpwsBB User Ranking table.<br />'; ! if($status = $GLOBALS['core']->sqlCreateIndex('mod_phpwsbb_threads',array('fid'))) ! $content .= 'Successfully added indexes.<br />'; if($status = $GLOBALS['core']->query('ALTER TABLE mod_phpwsbb_threads ADD lastpost_post_id int NOT NULL default "0"', TRUE)) { |