OSDN Git Service

ADDED: upgrade code for 3.5 in upgrades folder. Includes notices about end of PHP4...
[nucleus-jp/nucleus-jp-ancient.git] / utf8 / nucleus / upgrades / upgrade3.1.php
index 06ae255..066d009 100755 (executable)
@@ -1,7 +1,7 @@
 <?php
 /*
  * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
- * Copyright (C) 2002-2007 The Nucleus Group
+ * Copyright (C) 2002-2009 The Nucleus Group
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
  */
 /**
  * @license http://nucleuscms.org/license.txt GNU General Public License
- * @copyright Copyright (C) 2002-2007 The Nucleus Group
+ * @copyright Copyright (C) 2002-2009 The Nucleus Group
+ * @version $Id$
  * $NucleusJP: upgrade3.1.php,v 1.3.2.1 2007/10/24 05:39:16 kimitake Exp $
  *
  */
 
-function upgrade_do31() {
+function upgrade_do310() {
 
-       if (upgrade_checkinstall(31))
-               return 'already installed';
+    if (upgrade_checkinstall(310))
+        return 'already installed';
 
-       // 3.0 -> 3.1
-       // update database version  
-       update_version('310');
-       // nothing!
+    // 3.0 -> 3.1
+    // update database version  
+    update_version('310');
+    // nothing!
 }
 
 ?>