fix(blockbot): indent code using psr12
parent
c3919e52d2
commit
e7f7868c88
|
@ -79,8 +79,7 @@ function blockbot_init_1(App $a) {
|
|||
|
||||
if (!Config::get('blockbot', 'good_crawlers')) {
|
||||
$agents = array_merge($agents, $good_agents);
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
foreach ($good_agents as $good_agent) {
|
||||
if (stristr($_SERVER['HTTP_USER_AGENT'], $good_agent)) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue