Update of /cvsroot/phpwebsite-comm/modules/article/boost
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7283/boost
Modified Files:
install.php uninstall.php update.php
Log Message:
2.3 Release Files
Index: uninstall.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/article/boost/uninstall.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** uninstall.php 19 Feb 2004 21:46:37 -0000 1.2
--- uninstall.php 18 Jun 2004 23:30:29 -0000 1.3
***************
*** 3,7 ****
* This is the Article Manager uninstall file for Boost
*
! * @version \$Id\$
* @author Eloi George <el...@NO...>
*/
--- 3,7 ----
* This is the Article Manager uninstall file for Boost
*
! * @version $Id$
* @author Eloi George <el...@NO...>
*/
Index: install.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/article/boost/install.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** install.php 19 Feb 2004 21:46:37 -0000 1.4
--- install.php 18 Jun 2004 23:30:28 -0000 1.5
***************
*** 3,7 ****
* This is the ArticleManager install file for Boost
*
! * @version \$Id\$
* @author Eloi George <el...@NO...>
* @module Article Manager
--- 3,7 ----
* This is the ArticleManager install file for Boost
*
! * @version $Id$
* @author Eloi George <el...@NO...>
* @module Article Manager
Index: update.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/article/boost/update.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** update.php 19 Feb 2004 21:46:37 -0000 1.5
--- update.php 18 Jun 2004 23:30:29 -0000 1.6
***************
*** 224,227 ****
--- 224,243 ----
}
+ if($currentVersion < 2.3)
+ {
+ $content .= 'Updating Article Manager to version 2.3<br />'
+ . 'Fixing Year Display Minimums.<br />';
+ $sql = 'UPDATE mod_article_config SET default_year_count=1 WHERE default_year_count=0';
+ $result = $GLOBALS['core']->query($sql);
+ if(DB::isError($result)) {
+ $content .= 'There was an error while attempting to update the mod_article_config table:<br />'
+ . $result->getMessage() . '<br />';
+ $status = 0;
+ }
+ else {
+ $content .= 'Update to 2.2 Finished!<br />';
+ }
+ }
+
$_SESSION['OBJ_help']->uninstall_help('article');
$_SESSION['OBJ_help']->setup_help('article');
|