Bläddra i källkod

Subtract 20 points for logs that do not have accurate stream set to yes

tags/v0.8.4
itismadness 5 år sedan
förälder
incheckning
234de45ab2
Ingen känd nyckel hittad för denna signaturen i databasen GPG-nyckel ID: EC2A9E983E627E47
1 ändrade filer med 6 tillägg och 4 borttagningar
  1. +6
    -4
      src/Logchecker.php

+ 6
- 4
src/Logchecker.php Visa fil

@@ -1154,18 +1154,20 @@ class Logchecker {
function accurate_stream($Matches)
{
if ($Matches[2] == 'Yes') {
$Class = 'goodish';
$Class = 'good';
} else {
$Class = 'badish';
$Class = 'bad';
$this->account('"Utilize accurate stream" should be yes', 20);
}
return '<span class="log5">Utilize accurate stream' . $Matches[1] . '</span>: <span class="' . $Class . '">' . $Matches[2] . '</span>';
}
function accurate_stream_eac_pre99($Matches)
{
if (strtolower($Matches[1]) != 'no ') {
$Class = 'goodish';
$Class = 'good';
} else {
$Class = 'badish';
$Class = 'bad';
$this->account('"accurate stream" should be yes', 20);
}
return ', <span class="' . $Class . '">' . $Matches[1] . 'accurate stream</span>';
}


Laddar…
Avbryt
Spara