3 * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
4 * Copyright (C) 2002-2007 The Nucleus Group
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 * (see nucleus/documentation/index.html#license for more info)
13 * @license http://nucleuscms.org/license.txt GNU General Public License
14 * @copyright Copyright (C) 2002-2007 The Nucleus Group
15 * $NucleusJP: upgrade0.95.php,v 1.3.2.1 2007/10/24 05:39:15 kimitake Exp $
19 function upgrade_do95() {
21 if (upgrade_checkinstall(95))
24 if(!upgrade_checkIfColumnExists('blog', 'bconvertbreaks')){
25 $query = 'ALTER TABLE '.sql_table('blog')
26 . " ADD bsendping tinyint(2) NOT NULL default '0',"
27 . " ADD bconvertbreaks tinyint(2) NOT NULL default '1'";
28 upgrade_query("Adding 'send ping' and convert linebreaks options",$query);
30 echo "<li>Adding 'send ping' and convert linebreaks options ... <span class=\"warning\">NOT EXECUTED</span>\n<blockquote>Errors occurred during upgrade process.</blockquote>";