mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-08 03:54:20 +01:00
Refactor.
- move autoconf block lower down. - will be taken advantage of in a newer commit.
This commit is contained in:
parent
ceedda9322
commit
c80f9adacb
@ -48,15 +48,15 @@ function url2shortname ($url)
|
||||
return $name[1];
|
||||
}
|
||||
|
||||
$urls = $baseParams['__YKVAL_SYNC_POOL__'];
|
||||
$shortnames = array_map("url2shortname", $urls);
|
||||
|
||||
if ($argc == 2 && strcmp($argv[1], "autoconf") == 0)
|
||||
{
|
||||
print "yes\n";
|
||||
exit(0);
|
||||
}
|
||||
|
||||
$urls = $baseParams['__YKVAL_SYNC_POOL__'];
|
||||
$shortnames = array_map("url2shortname", $urls);
|
||||
|
||||
if ($argc==2 && strcmp($argv[1], "config") == 0)
|
||||
{
|
||||
echo "graph_title YK-VAL queue size\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user