fixed spacing to please StyleCI
This commit is contained in:
parent
8fbdb69d8a
commit
effe6ad3e5
|
@ -209,11 +209,11 @@ class Controller
|
||||||
if (!in_array($_SERVER[$httpHeader], $whitelist)) {
|
if (!in_array($_SERVER[$httpHeader], $whitelist)) {
|
||||||
$this->_return_message(1, I18n::_('Your IP is not authorized to create pastes.'));
|
$this->_return_message(1, I18n::_('Your IP is not authorized to create pastes.'));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ensure last paste from visitors IP address was more than configured amount of seconds ago.
|
// Ensure last paste from visitors IP address was more than configured amount of seconds ago.
|
||||||
TrafficLimiter::setConfiguration($this->_conf);
|
TrafficLimiter::setConfiguration($this->_conf);
|
||||||
if (!TrafficLimiter::canPass()) {
|
if (!TrafficLimiter::canPass()) {
|
||||||
|
|
Loading…
Reference in New Issue