mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fix some whitespace
This commit is contained in:
@@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
|
||||
|
|
||||
*/
|
||||
|
||||
$config['migration_version'] = 231;
|
||||
$config['migration_version'] = 230;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user