mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
we don't need two scp files
This commit is contained in:
@@ -99,20 +99,6 @@ class Lookup extends CI_Controller {
|
||||
}
|
||||
}
|
||||
|
||||
$file = 'updates/masterscp.txt';
|
||||
|
||||
if (is_readable($file)) {
|
||||
$lines = file($file, FILE_IGNORE_NEW_LINES);
|
||||
$input = preg_quote($uppercase_callsign, '~');
|
||||
$result = preg_grep('~' . $input . '~', $lines, 0);
|
||||
foreach ($result as &$value) {
|
||||
if (in_array($value, $arCalls) == false)
|
||||
{
|
||||
$arCalls[] = str_replace('0', 'Ø', $value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sort($arCalls);
|
||||
|
||||
foreach ($arCalls as $strCall)
|
||||
|
||||
Reference in New Issue
Block a user