fix(blockbot): indent code using psr12

This commit is contained in:
valvin 2020-01-18 23:28:14 +01:00
parent c3919e52d2
commit e7f7868c88

View file

@ -79,9 +79,8 @@ function blockbot_init_1(App $a) {
if (!Config::get('blockbot', 'good_crawlers')) {
$agents = array_merge($agents, $good_agents);
}
else{
foreach($good_agents as $good_agent){
} else {
foreach ($good_agents as $good_agent) {
if (stristr($_SERVER['HTTP_USER_AGENT'], $good_agent)) {
return;
}