From: Eloi G. <ada...@us...> - 2004-09-21 03:12:29
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15515/class Modified Files: Thread.php Log Message: Disabled phpwsBB from triggering monitor emails while updating Index: Thread.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Thread.php,v retrieving revision 1.60 retrieving revision 1.61 diff -C2 -d -r1.60 -r1.61 *** Thread.php 19 Sep 2004 06:37:01 -0000 1.60 --- Thread.php 21 Sep 2004 03:12:05 -0000 1.61 *************** *** 324,327 **** --- 324,331 ---- echo '<h3>session user not set!</h3>'; + // This switch allows mass updates to occur without sending a mass email + if(isset($_REQUEST['run_silent'])) + return; + $user = $_SESSION['PHPWSBB_Manager']->_load_user_settings($_SESSION['OBJ_user']->user_id); if ($_SESSION['PHPWSBB_Manager']->_allow_user_monitors && $new && !$user['suspendmonitors']) { |