Page MenuHomeIn-Portal Phabricator

custom
No OneTemporary

File Metadata

Created
Sat, Feb 1, 4:04 PM
Index: branches/1.2.x/install/upgrades.php
===================================================================
--- branches/1.2.x/install/upgrades.php (revision 15863)
+++ branches/1.2.x/install/upgrades.php (revision 15864)
@@ -1,63 +1,64 @@
<?php
/**
* @version $Id$
* @package Custom
* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
* @license GNU/GPL
* In-Portal is Open Source software.
* This means that this software may have been modified pursuant
* the GNU General Public License, and as distributed it includes
* or is derivative of works licensed under the GNU General Public License
* or other free or open source software licenses.
* See http://www.in-portal.org/license for copyright notices and details.
*/
defined('FULL_PATH') or die('restricted access!');
$upgrade_class = 'CustomUpgrades';
/**
* Class, that holds all upgrade scripts for "Custom" module
*
*/
class CustomUpgrades extends kUpgradeHelper {
public function __construct()
{
parent::__construct();
$this->dependencies = Array (
'1.0.0' => Array ('Core' => '5.0.0'),
'1.0.1' => Array ('Core' => '5.0.1'),
'1.0.2-B1' => Array ('Core' => '5.0.2-B1'),
'1.0.2-B2' => Array ('Core' => '5.0.2-B2'),
'1.0.2-RC1' => Array ('Core' => '5.0.2-RC1'),
'1.0.2' => Array ('Core' => '5.0.2'),
'1.0.3-B1' => Array ('Core' => '5.0.3-B1'),
'1.0.3-RC1' => Array ('Core' => '5.0.3-RC1'),
'1.0.3' => Array ('Core' => '5.0.3'),
'1.0.4-B1' => Array ('Core' => '5.0.4-B1'),
'1.0.4' => Array ('Core' => '5.0.4'),
'1.1.0-B1' => Array ('Core' => '5.1.0-B1'),
'1.1.0-B2' => Array ('Core' => '5.1.0-B2'),
'1.1.0-RC1' => Array ('Core' => '5.1.0-RC1'),
'1.1.0' => Array ('Core' => '5.1.0'),
'1.1.1-B1' => Array ('Core' => '5.1.1-B1'),
'1.1.1-RC1' => Array ('Core' => '5.1.1-RC1'),
'1.1.1' => Array ('Core' => '5.1.1'),
'1.1.2-B1' => Array ('Core' => '5.1.2-B1'),
'1.1.2-RC1' => Array ('Core' => '5.1.2-RC1'),
'1.1.2' => Array ('Core' => '5.1.2'),
'1.1.3-B1' => Array ('Core' => '5.1.3-B1'),
'1.1.3-B2' => Array ('Core' => '5.1.3-B2'),
'1.1.3' => Array ('Core' => '5.1.3'),
'1.2.0-B1' => Array ('Core' => '5.2.0-B1'),
'1.2.0-B2' => Array ('Core' => '5.2.0-B2'),
'1.2.0-B3' => Array ('Core' => '5.2.0-B3'),
'1.2.0-RC1' => Array ('Core' => '5.2.0-RC1'),
'1.2.0' => Array ('Core' => '5.2.0'),
'1.2.1-B1' => Array ('Core' => '5.2.1-B1'),
'1.2.1-B2' => Array ('Core' => '5.2.1-B2'),
+ '1.2.1-RC1' => Array ('Core' => '5.2.1-RC1'),
);
}
}
Index: branches/1.2.x/install/upgrades.sql
===================================================================
--- branches/1.2.x/install/upgrades.sql (revision 15863)
+++ branches/1.2.x/install/upgrades.sql (revision 15864)
@@ -1,68 +1,70 @@
# ===== v 1.0.0 =====
# ===== v 1.0.1 =====
UPDATE Modules SET LoadOrder = 10 WHERE `Name` = 'Custom';
# ===== v 1.0.2-B1 =====
ALTER TABLE Widgets CHANGE CreatedOn CreatedOn INT(11) NULL DEFAULT NULL;
UPDATE Modules SET TemplatePath = 'custom/' WHERE Name = 'Custom';
# ===== v 1.0.2-B2 =====
# ===== v 1.0.2-RC1 =====
# ===== v 1.0.2 =====
# ===== v 1.0.3-B1 =====
# ===== v 1.0.3-RC1 =====
# ===== v 1.0.3 =====
# ===== v 1.0.4-B1 =====
# ===== v 1.0.4 =====
# ===== v 1.1.0-B1 =====
UPDATE Modules SET Path = 'modules/custom/' WHERE `Name` = 'Custom';
# ===== v 1.1.0-B2 =====
# ===== v 1.1.0-RC1 =====
# ===== v 1.1.0 =====
# ===== v 1.1.1-B1 =====
# ===== v 1.1.1-RC1 =====
# ===== v 1.1.1 =====
# ===== v 1.1.2-B1 =====
# ===== v 1.1.2-RC1 =====
# ===== v 1.1.2 =====
# ===== v 1.1.3-B1 =====
# ===== v 1.1.3-B2 =====
# ===== v 1.1.3 =====
# ===== v 1.2.0-B1 =====
# ===== v 1.2.0-B2 =====
# ===== v 1.2.0-B3 =====
# ===== v 1.2.0-RC1 =====
# ===== v 1.2.0 =====
# ===== v 1.2.1-B1 =====
# ===== v 1.2.1-B2 =====
UPDATE Modules
SET ClassNamespace = 'Intechnic\\InPortal\\Modules\\Custom'
WHERE `Name` = 'Custom';
+
+# ===== v 1.2.1-RC1 =====

Event Timeline