From: <dts...@us...> - 2003-05-20 21:43:38
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/boost In directory sc8-pr-cvs1:/tmp/cvs-serv31747/boost Modified Files: uninstall.php Log Message: Need to set status otherwise it assumes failure Index: uninstall.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/boost/uninstall.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** uninstall.php 20 May 2003 19:29:38 -0000 1.1 --- uninstall.php 20 May 2003 21:43:35 -0000 1.2 *************** *** 10,21 **** } ! if($GLOBALS["core"]->sqlImport(PHPWS_SOURCE_DIR . "mod/phpwsbb/boost/uninstall.sql", 1, 1)) { $content .= "All Bulletin Board tables successfully removed!<br />"; if(isset($_SESSION["OBJ_search"])) ! $GLOBALS["core"]->sqlDelete("mod_search_register", "module", "phpwsbb"); } else { ! $content .= "There wa a problem writing to the database.<br />"; $status = 0; } --- 10,21 ---- } ! if($status = $GLOBALS["core"]->sqlImport(PHPWS_SOURCE_DIR . "mod/phpwsbb/boost/uninstall.sql", 1, 1)) { $content .= "All Bulletin Board tables successfully removed!<br />"; if(isset($_SESSION["OBJ_search"])) ! $status = $GLOBALS["core"]->sqlDelete("mod_search_register", "module", "phpwsbb"); } else { ! $content .= "There was a problem writing to the database.<br />"; $status = 0; } |