Update of /cvsroot/phpwsbb/phpwsbb/boost
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18964/boost
Modified Files:
update.php
Log Message:
Going 1.0.0 to get around core version comparison bug
Index: update.php
===================================================================
RCS file: /cvsroot/phpwsbb/phpwsbb/boost/update.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** update.php 10 Sep 2004 02:01:33 -0000 1.36
--- update.php 13 Sep 2004 16:07:18 -0000 1.37
***************
*** 245,249 ****
}
! if(version_compare($currentVersion, "0.10.0") < 0) {
if($status = $GLOBALS['core']->query('ALTER TABLE mod_phpwsbb_messages ADD owner_id int NOT NULL default 0 AFTER owner', TRUE)
&& $status = $GLOBALS['core']->sqlCreateIndex('mod_phpwsbb_messages',array('owner_id'))) {
--- 245,249 ----
}
! if(version_compare($currentVersion, "1.0.0") < 0) {
if($status = $GLOBALS['core']->query('ALTER TABLE mod_phpwsbb_messages ADD owner_id int NOT NULL default 0 AFTER owner', TRUE)
&& $status = $GLOBALS['core']->sqlCreateIndex('mod_phpwsbb_messages',array('owner_id'))) {
|