diff --git a/application/config/migration.php b/application/config/migration.php index 232b4ce7e..0e1107dd7 100644 --- a/application/config/migration.php +++ b/application/config/migration.php @@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE; | */ -$config['migration_version'] = 231; +$config['migration_version'] = 230; /* |-------------------------------------------------------------------------- diff --git a/application/migrations/231_adif_315.php b/application/migrations/231_adif_315.php index f7066727f..6275d8c50 100644 --- a/application/migrations/231_adif_315.php +++ b/application/migrations/231_adif_315.php @@ -12,7 +12,7 @@ class Migration_adif_315 extends CI_Migration { { /** * ADIF Version 3.1.5 - * The new ADIF version 3.1.5 comes with some changes. + * The new ADIF version 3.1.5 comes with some changes. */ $this->db->trans_start(); @@ -126,7 +126,7 @@ class Migration_adif_315 extends CI_Migration { $this->db->trans_rollback(); log_message('error', 'Migration failed: ' . $e->getMessage()); log_message('error', 'The query was: ' . $query); - return false; + return false; } // ############################################################################################################ @@ -467,9 +467,9 @@ class Migration_adif_315 extends CI_Migration { $this->db->trans_rollback(); log_message('error', 'Migration failed: ' . $e->getMessage()); log_message('error', 'The query was: ' . $query); - return false; + return false; } - + // ############################################################################################################ /** @@ -492,7 +492,7 @@ class Migration_adif_315 extends CI_Migration { $this->db->trans_rollback(); log_message('error', 'Migration failed: ' . $e->getMessage()); log_message('error', 'The query was: ' . $query); - return false; + return false; } @@ -515,7 +515,7 @@ class Migration_adif_315 extends CI_Migration { ['name' => 'K1USN Slow Speed Open', 'adifname' => 'K1USN-SSO'], ['name' => 'PCCPro CW Contest', 'adifname' => 'PCC'], ]; - + try { foreach ($new_c as $c) { $query = $this->db->query("SELECT 1 FROM `contest` WHERE adifname = ?", [$c['adifname']]); @@ -527,7 +527,7 @@ class Migration_adif_315 extends CI_Migration { $this->db->trans_rollback(); log_message('error', 'Migration failed: ' . $e->getMessage()); log_message('error', 'The query was: ' . $query); - return false; + return false; } $this->db->trans_complete(); @@ -546,4 +546,4 @@ class Migration_adif_315 extends CI_Migration { { // No way back here } -} \ No newline at end of file +}