public function SiteAuditCheckUsersBlockedNumberOne::getAction in Site Audit 7
Same name and namespace in other branches
- 8.2 Check/Users/BlockedNumberOne.php \SiteAuditCheckUsersBlockedNumberOne::getAction()
Implements \SiteAudit\Check\Abstract\getAction().
Overrides SiteAuditCheckAbstract::getAction
File
- Check/
Users/ BlockedNumberOne.php, line 53 - Contains \SiteAudit\Check\Users\BlockedNumberOne.
Class
- SiteAuditCheckUsersBlockedNumberOne
- Class SiteAuditCheckUsersBlockedNumberOne.
Code
public function getAction() {
if ($this->score != SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_PASS) {
return dt('Unblock UID #1 using `drush user-unblock 1`');
}
}