<?php
-function upgrade_do31() {
+/*
+ * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
+ * Copyright (C) 2002-2010 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
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * (see nucleus/documentation/index.html#license for more info)
+ */
+/**
+ * @license http://nucleuscms.org/license.txt GNU General Public License
+ * @copyright Copyright (C) 2002-2010 The Nucleus Group
+ * @version $Id$
+ * $NucleusJP: upgrade3.1.php,v 1.3.2.1 2007/10/24 05:39:16 kimitake Exp $
+ *
+ */
- if (upgrade_checkinstall(31))
- return 'already installed';
+function upgrade_do310() {
- // 3.0 -> 3.1
- // update database version
- update_version('310');
- // nothing!
+ if (upgrade_checkinstall(310))
+ return 'インストール済みです';
+
+ // 3.0 -> 3.1
+ // update database version
+ update_version('310');
+ // nothing!
}
-?>
\ No newline at end of file
+?>