public function SiteAuditCheckWatchdogEnabled::calculateScore in Site Audit 7
Same name and namespace in other branches
- 8.2 Check/Watchdog/Enabled.php \SiteAuditCheckWatchdogEnabled::calculateScore()
Implements \SiteAudit\Check\Abstract\calculateScore().
Overrides SiteAuditCheckAbstract::calculateScore
File
- Check/
Watchdog/ Enabled.php, line 58 - Contains \SiteAudit\Check\Watchdog\Enabled.
Class
- SiteAuditCheckWatchdogEnabled
- Class SiteAuditCheckWatchdogEnabled.
Code
public function calculateScore() {
if (!module_exists('dblog')) {
$this->abort = TRUE;
return SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_INFO;
}
return SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_PASS;
}