indentation
This commit is contained in:
@@ -144,12 +144,12 @@ HELP;
|
|||||||
];
|
];
|
||||||
if (!in_array($data, $newBlockList)) {
|
if (!in_array($data, $newBlockList)) {
|
||||||
$newBlockList[] = $data;
|
$newBlockList[] = $data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
foreach ($currBlockList as $blocked) {
|
foreach ($currBlockList as $blocked) {
|
||||||
if (!in_array($blocked, $newBlockList)) {
|
if (!in_array($blocked, $newBlockList)) {
|
||||||
$newBlockList[] = $blocked;
|
$newBlockList[] = $blocked;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($config->set('system', 'blocklist', $newBlockList)) {
|
if ($config->set('system', 'blocklist', $newBlockList)) {
|
||||||
$this->out(sprintf("Entries from %s that were not blocked before are now blocked", $filename));
|
$this->out(sprintf("Entries from %s that were not blocked before are now blocked", $filename));
|
||||||
|
|||||||
Reference in New Issue
Block a user