1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-03-04 03:29:18 +01:00

Drop php closing tags.

This commit is contained in:
Jean Paul Galea 2015-07-15 15:14:25 +02:00
parent 087b38496b
commit e76c5002f2
22 changed files with 0 additions and 56 deletions

View File

@ -85,5 +85,3 @@ print substr ($hash, 0, 10) . "\n";
$result=null; $result=null;
$db=null; $db=null;
?>

View File

@ -79,5 +79,3 @@ print substr ($hash, 0, 10) . "\n";
$result=null; $result=null;
$db=null; $db=null;
?>

View File

@ -310,5 +310,3 @@ if(!function_exists('hash_equals')) {
return 0 === $result; return 0 === $result;
} }
} }
?>

View File

@ -237,6 +237,3 @@ class DbImpl extends Db
} }
} }
} }
?>

View File

@ -233,6 +233,3 @@ class DbImpl extends Db
} }
} }
} }
?>

View File

@ -301,6 +301,3 @@ or false on failure.
} }
} }
?>

View File

@ -63,6 +63,3 @@ $db->closeCursor($result);
$db->disconnect(); $db->disconnect();
$result=null; $result=null;
$db=null; $db=null;
?>

View File

@ -61,6 +61,3 @@ $db->disconnect();
$result=null; $result=null;
$db=null; $db=null;
?>

View File

@ -74,5 +74,3 @@ class Log
} }
} }
?>

View File

@ -81,7 +81,3 @@ foreach ($ksms as $ksm) {
} }
echo "${shortksm}_avgwait.value $time\n"; echo "${shortksm}_avgwait.value $time\n";
} }
#%# family=auto
#%# capabilities=autoconf
?>

View File

@ -88,7 +88,3 @@ foreach ($shortnames as $shortname) {
} }
echo "queuelength_${shortname}.value $count\n"; echo "queuelength_${shortname}.value $count\n";
} }
#%# family=auto
#%# capabilities=autoconf
?>

View File

@ -90,7 +90,3 @@ foreach ($urls as $url) {
echo "$ipv${shortname}_avgwait.value $time\n"; echo "$ipv${shortname}_avgwait.value $time\n";
} }
} }
#%# family=auto
#%# capabilities=autoconf
?>

View File

@ -98,8 +98,3 @@ if ($count = get_count($db, 'clients', 'active=true')) {
if ($count = get_count($db, 'clients', 'active=false')) { if ($count = get_count($db, 'clients', 'active=false')) {
echo "clients_disabled.value " . $count . "\n"; echo "clients_disabled.value " . $count . "\n";
} }
#%# family=auto
#%# capabilities=autoconf
?>

View File

@ -59,5 +59,3 @@ if($len > $critical) {
print("OK: $message\n"); print("OK: $message\n");
exit (0); exit (0);
} }
?>

View File

@ -30,5 +30,3 @@
header("content-type: text/plain"); header("content-type: text/plain");
echo 'OK' . PHP_EOL; echo 'OK' . PHP_EOL;
?>

View File

@ -41,5 +41,3 @@ do {
$sl->reSync($baseParams['__YKVAL_SYNC_OLD_LIMIT__'], $sl->reSync($baseParams['__YKVAL_SYNC_OLD_LIMIT__'],
$baseParams['__YKVAL_SYNC_RESYNC_TIMEOUT__']); $baseParams['__YKVAL_SYNC_RESYNC_TIMEOUT__']);
} while(sleep($baseParams['__YKVAL_SYNC_INTERVAL__'])==0); } while(sleep($baseParams['__YKVAL_SYNC_INTERVAL__'])==0);
?>

View File

@ -100,4 +100,3 @@ foreach($yubikeys as $key) {
# We are done # We are done
logdie($myLog, "OK Initiated resync of $yk"); logdie($myLog, "OK Initiated resync of $yk");
?>

View File

@ -74,4 +74,3 @@ if (!$db->updateBy('yubikeys', 'yk_publicname', $yk,
# We are done # We are done
logdie($myLog, "OK Processed $yk with $do"); logdie($myLog, "OK Processed $yk with $do");
?>

View File

@ -206,5 +206,3 @@ $extra=array('modified'=>$localParams['modified'],
'yk_low'=>$localParams['yk_low']); 'yk_low'=>$localParams['yk_low']);
sendResp(S_OK, $myLog, $apiKey, $extra); sendResp(S_OK, $myLog, $apiKey, $extra);
?>

View File

@ -65,5 +65,3 @@ if($response == False) {
echo $response; echo $response;
curl_close($ch); curl_close($ch);
?>

View File

@ -544,5 +544,3 @@ class SyncLib
} }
} }
?>

View File

@ -422,5 +422,3 @@ if ($timestamp==1){
} }
sendResp(S_OK, $myLog, $apiKey, $extra); sendResp(S_OK, $myLog, $apiKey, $extra);
?>