Completed
Push — 1.7 ( ce7091...0d97cf )
by Greg
14:14 queued 07:41
created
app/Schema/Migration34.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,11 +21,13 @@
 block discarded – undo
21 21
 /**
22 22
  * Upgrade the database schema from version 34 to version 35.
23 23
  */
24
-class Migration34 implements MigrationInterface {
24
+class Migration34 implements MigrationInterface
25
+{
25 26
 	/**
26 27
 	 * Upgrade to to the next version
27 28
 	 */
28
-	public function upgrade() {
29
+	public function upgrade()
30
+	{
29 31
 		// New modules (charts) have been added.
30 32
 		Module::getInstalledModules('enabled');
31 33
 
Please login to merge, or discard this patch.
app/Schema/Migration2.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,11 +21,13 @@
 block discarded – undo
21 21
 /**
22 22
  * Upgrade the database schema from version 2 to version 2.
23 23
  */
24
-class Migration2 implements MigrationInterface {
24
+class Migration2 implements MigrationInterface
25
+{
25 26
 	/**
26 27
 	 * Upgrade to to the next version
27 28
 	 */
28
-	public function upgrade() {
29
+	public function upgrade()
30
+	{
29 31
 		// - create the wt_gedcom_chunk table to import gedcoms in
30 32
 		// blocks of data smaller than the max_allowed_packet restriction.
31 33
 
Please login to merge, or discard this patch.
app/Schema/Migration22.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,11 +21,13 @@
 block discarded – undo
21 21
 /**
22 22
  * Upgrade the database schema from version 22 to version 23.
23 23
  */
24
-class Migration22 implements MigrationInterface {
24
+class Migration22 implements MigrationInterface
25
+{
25 26
 	/**
26 27
 	 * Upgrade to to the next version
27 28
 	 */
28
-	public function upgrade() {
29
+	public function upgrade()
30
+	{
29 31
 		// - data update for 1.4.0 media changes
30 32
 		$_cfgs = Database::prepare(
31 33
 			"SELECT gs1.gedcom_id AS gedcom_id, gs1.setting_value AS media_directory, gs2.setting_value AS use_media_firewall, gs3.setting_value AS media_firewall_thumbs, gs4.setting_value AS media_firewall_rootdir" .
Please login to merge, or discard this patch.
app/Schema/Migration27.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,11 +21,13 @@
 block discarded – undo
21 21
 /**
22 22
  * Upgrade the database schema from version 27 to version 28.
23 23
  */
24
-class Migration27 implements MigrationInterface {
24
+class Migration27 implements MigrationInterface
25
+{
25 26
 	/**
26 27
 	 * Upgrade to to the next version
27 28
 	 */
28
-	public function upgrade() {
29
+	public function upgrade()
30
+	{
29 31
 		// Delete old/unused settings
30 32
 		Database::exec(
31 33
 			"DELETE FROM `##gedcom_setting` WHERE setting_name IN ('USE_GEONAMES')"
Please login to merge, or discard this patch.
app/Schema/Migration1.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,11 +20,13 @@
 block discarded – undo
20 20
 /**
21 21
  * Upgrade the database schema from version 1 to version 2.
22 22
  */
23
-class Migration1 implements MigrationInterface {
23
+class Migration1 implements MigrationInterface
24
+{
24 25
 	/**
25 26
 	 * Upgrade to to the next version
26 27
 	 */
27
-	public function upgrade() {
28
+	public function upgrade()
29
+	{
28 30
 		// Create the wt_session table to store session data in the database,
29 31
 		// rather than in the filesystem.
30 32
 		Database::exec(
Please login to merge, or discard this patch.
app/Schema/Migration33.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,11 +20,13 @@
 block discarded – undo
20 20
 /**
21 21
  * Upgrade the database schema from version 33 to version 34.
22 22
  */
23
-class Migration33 implements MigrationInterface {
23
+class Migration33 implements MigrationInterface
24
+{
24 25
 	/**
25 26
 	 * Upgrade to to the next version
26 27
 	 */
27
-	public function upgrade() {
28
+	public function upgrade()
29
+	{
28 30
 		Database::exec(
29 31
 			"INSERT IGNORE INTO `##site_access_rule` (user_agent_pattern, rule, comment) VALUES" .
30 32
 			" ('Mozilla/5.0 (Mobile; Windows Phone 8.1; % Microsoft; %', 'allow', 'Windows Phone 8.1')"
Please login to merge, or discard this patch.
app/Schema/Migration24.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,11 +20,13 @@
 block discarded – undo
20 20
 /**
21 21
  * Upgrade the database schema from version 24 to version 25.
22 22
  */
23
-class Migration24 implements MigrationInterface {
23
+class Migration24 implements MigrationInterface
24
+{
24 25
 	/**
25 26
 	 * Upgrade to to the next version
26 27
 	 */
27
-	public function upgrade() {
28
+	public function upgrade()
29
+	{
28 30
 		// Tree settings become site settings
29 31
 		Database::exec(
30 32
 			"INSERT IGNORE INTO `##site_setting` (setting_name, setting_value)" .
Please login to merge, or discard this patch.
app/Schema/Migration8.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,11 +21,13 @@
 block discarded – undo
21 21
 /**
22 22
  * Upgrade the database schema from version 8 to version 9.
23 23
  */
24
-class Migration8 implements MigrationInterface {
24
+class Migration8 implements MigrationInterface
25
+{
25 26
 	/**
26 27
 	 * Upgrade to to the next version
27 28
 	 */
28
-	public function upgrade() {
29
+	public function upgrade()
30
+	{
29 31
 		// Add support for the persian/jalali calendar
30 32
 		try {
31 33
 			Database::exec(
Please login to merge, or discard this patch.
app/Schema/Migration28.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,11 +20,13 @@
 block discarded – undo
20 20
 /**
21 21
  * Upgrade the database schema from version 28 to version 29.
22 22
  */
23
-class Migration28 implements MigrationInterface {
23
+class Migration28 implements MigrationInterface
24
+{
24 25
 	/**
25 26
 	 * Upgrade to to the next version
26 27
 	 */
27
-	public function upgrade() {
28
+	public function upgrade()
29
+	{
28 30
 		// Earlier versions used the wrong month number for Adar in non-leap years
29 31
 		Database::exec(
30 32
 			"UPDATE `##dates` SET d_mon = 7 WHERE d_mon = 6 && d_type = '@#DHEBREW@' AND MOD(7 * d_year + 1, 19) >= 7"
Please login to merge, or discard this patch.