Fix some whitespace

This commit is contained in:
phl0
2024-12-18 11:29:24 +01:00
parent d226aeab38
commit c82cb317c2
2 changed files with 9 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
|
*/
$config['migration_version'] = 231;
$config['migration_version'] = 230;
/*
|--------------------------------------------------------------------------

View File

@@ -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
}
}
}