X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/cf39e07dba72373302e2d1a48de3083339d0decb..3546b304739f2b214667ec0127ae7762be4cd5d5:/utils/blocks.php diff --git a/utils/blocks.php b/utils/blocks.php index e1dfb590..b213e454 100755 --- a/utils/blocks.php +++ b/utils/blocks.php @@ -32,9 +32,15 @@ if ($aResult['list']) { printf(" %-40s | %12s | %7s | %13s | %31s | %8s\n", "Key", "Total Blocks", "Current", "Still Blocked", "Last Block Time", "Sleeping"); printf(" %'--40s-|-%'-12s-|-%'-7s-|-%'-13s-|-%'-31s-|-%'-8s\n", "", "", "", "", "", ""); foreach ($aBlocks as $sKey => $aDetails) { - printf(" %-40s | %12s | %7s | %13s | %31s | %8s\n", $sKey, $aDetails['totalBlocks'], - (int)$aDetails['currentBucketSize'], $aDetails['currentlyBlocked']?'Y':'N', - date("r", $aDetails['lastBlockTimestamp']), $aDetails['isSleeping']?'Y':'N'); + printf( + " %-40s | %12s | %7s | %13s | %31s | %8s\n", + $sKey, + $aDetails['totalBlocks'], + (int)$aDetails['currentBucketSize'], + $aDetails['currentlyBlocked']?'Y':'N', + date("r", $aDetails['lastBlockTimestamp']), + $aDetails['isSleeping']?'Y':'N' + ); } echo "\n"; }