diff --git a/application/controllers/Calltester.php b/application/controllers/Calltester.php index c9ecaf663..f1088151e 100644 --- a/application/controllers/Calltester.php +++ b/application/controllers/Calltester.php @@ -927,13 +927,6 @@ class Calltester extends CI_Controller { 'Date' => $date = date('Y-m-d', time()) ); - $testarray[] = array( - 'Callsign' => 'RU9CK/Z1', - 'Country' => 'Asiatic Russia', - 'Adif' => 15, - 'Date' => $date = date('Y-m-d', time()) - ); - set_time_limit(3600); // Starting clock time in seconds diff --git a/src/Dxcc/Dxcc.php b/src/Dxcc/Dxcc.php index 0aeb539fa..fd26ca638 100644 --- a/src/Dxcc/Dxcc.php +++ b/src/Dxcc/Dxcc.php @@ -167,12 +167,6 @@ class Dxcc { $c = substr($c, 1); # Remove the / at the beginning }; - if (preg_match('/^([A-Z]\d|\d[A-Z])$/', ($c ?? ''))) { # If suffix consists of exactly 2 chars (letter+digit or digit+letter) - ignore if prefix isn't known at all - if (!array_key_exists($c, $this->dxcc)) { - $c = null; - } - } - # In some cases when there is no part A but B and C, and C is longer than 2 # letters, it happens that $a and $b get the values that $b and $c should # have. This often happens with liddish callsign-additions like /QRP and