From: Shaun M. <sin...@us...> - 2004-12-11 22:55:13
|
Update of /cvsroot/phpwsbb/phpwsbb/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14337 Modified Files: uninstall.php Log Message: [ phpwsbb-Bugs-1083624 ] Changed to use version_compare Index: uninstall.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/boost/uninstall.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** uninstall.php 15 Sep 2004 02:19:07 -0000 1.13 --- uninstall.php 11 Dec 2004 22:55:02 -0000 1.14 *************** *** 39,43 **** // Remove search registry for old core ! if($GLOBALS['core']->version < '0.9.3-2') if(isset($_SESSION['OBJ_search'])) $status = $GLOBALS['core']->sqlDelete('mod_search_register', 'module', 'phpwsbb'); --- 39,43 ---- // Remove search registry for old core ! if(version_compare($GLOBALS['core']->version, '0.9.3-2') < 0) if(isset($_SESSION['OBJ_search'])) $status = $GLOBALS['core']->sqlDelete('mod_search_register', 'module', 'phpwsbb'); |