1
0
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:
Jean Paul Galea 2015-09-08 14:29:35 +02:00
parent ceedda9322
commit c80f9adacb

View File

@ -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";