mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-03-03 18:29:18 +01:00
Drop php closing tags.
This commit is contained in:
parent
087b38496b
commit
e76c5002f2
@ -85,5 +85,3 @@ print substr ($hash, 0, 10) . "\n";
|
||||
|
||||
$result=null;
|
||||
$db=null;
|
||||
|
||||
?>
|
||||
|
@ -79,5 +79,3 @@ print substr ($hash, 0, 10) . "\n";
|
||||
|
||||
$result=null;
|
||||
$db=null;
|
||||
|
||||
?>
|
||||
|
@ -310,5 +310,3 @@ if(!function_exists('hash_equals')) {
|
||||
return 0 === $result;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
@ -237,6 +237,3 @@ class DbImpl extends Db
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
@ -233,6 +233,3 @@ class DbImpl extends Db
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
@ -301,6 +301,3 @@ or false on failure.
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
@ -63,6 +63,3 @@ $db->closeCursor($result);
|
||||
$db->disconnect();
|
||||
$result=null;
|
||||
$db=null;
|
||||
|
||||
|
||||
?>
|
||||
|
@ -61,6 +61,3 @@ $db->disconnect();
|
||||
|
||||
$result=null;
|
||||
$db=null;
|
||||
|
||||
|
||||
?>
|
||||
|
@ -74,5 +74,3 @@ class Log
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
@ -81,7 +81,3 @@ foreach ($ksms as $ksm) {
|
||||
}
|
||||
echo "${shortksm}_avgwait.value $time\n";
|
||||
}
|
||||
|
||||
#%# family=auto
|
||||
#%# capabilities=autoconf
|
||||
?>
|
||||
|
@ -88,7 +88,3 @@ foreach ($shortnames as $shortname) {
|
||||
}
|
||||
echo "queuelength_${shortname}.value $count\n";
|
||||
}
|
||||
|
||||
#%# family=auto
|
||||
#%# capabilities=autoconf
|
||||
?>
|
||||
|
@ -90,7 +90,3 @@ foreach ($urls as $url) {
|
||||
echo "$ipv${shortname}_avgwait.value $time\n";
|
||||
}
|
||||
}
|
||||
|
||||
#%# family=auto
|
||||
#%# capabilities=autoconf
|
||||
?>
|
||||
|
@ -98,8 +98,3 @@ if ($count = get_count($db, 'clients', 'active=true')) {
|
||||
if ($count = get_count($db, 'clients', 'active=false')) {
|
||||
echo "clients_disabled.value " . $count . "\n";
|
||||
}
|
||||
|
||||
|
||||
#%# family=auto
|
||||
#%# capabilities=autoconf
|
||||
?>
|
||||
|
@ -59,5 +59,3 @@ if($len > $critical) {
|
||||
print("OK: $message\n");
|
||||
exit (0);
|
||||
}
|
||||
|
||||
?>
|
||||
|
@ -30,5 +30,3 @@
|
||||
header("content-type: text/plain");
|
||||
|
||||
echo 'OK' . PHP_EOL;
|
||||
|
||||
?>
|
||||
|
@ -41,5 +41,3 @@ do {
|
||||
$sl->reSync($baseParams['__YKVAL_SYNC_OLD_LIMIT__'],
|
||||
$baseParams['__YKVAL_SYNC_RESYNC_TIMEOUT__']);
|
||||
} while(sleep($baseParams['__YKVAL_SYNC_INTERVAL__'])==0);
|
||||
|
||||
?>
|
||||
|
@ -100,4 +100,3 @@ foreach($yubikeys as $key) {
|
||||
|
||||
# We are done
|
||||
logdie($myLog, "OK Initiated resync of $yk");
|
||||
?>
|
||||
|
@ -74,4 +74,3 @@ if (!$db->updateBy('yubikeys', 'yk_publicname', $yk,
|
||||
|
||||
# We are done
|
||||
logdie($myLog, "OK Processed $yk with $do");
|
||||
?>
|
||||
|
@ -206,5 +206,3 @@ $extra=array('modified'=>$localParams['modified'],
|
||||
'yk_low'=>$localParams['yk_low']);
|
||||
|
||||
sendResp(S_OK, $myLog, $apiKey, $extra);
|
||||
|
||||
?>
|
||||
|
@ -65,5 +65,3 @@ if($response == False) {
|
||||
echo $response;
|
||||
|
||||
curl_close($ch);
|
||||
|
||||
?>
|
||||
|
@ -544,5 +544,3 @@ class SyncLib
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
@ -422,5 +422,3 @@ if ($timestamp==1){
|
||||
}
|
||||
|
||||
sendResp(S_OK, $myLog, $apiKey, $extra);
|
||||
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user