*/*: whitespace sweep

This commit is contained in:
Franco Fichtner
2017-11-19 08:42:46 +01:00
parent eaf991b775
commit f950b2f37c
9 changed files with 10 additions and 13 deletions

View File

@@ -35,7 +35,7 @@ use \OPNsense\Redis\Redis;
class ServiceController extends ApiControllerBase
{
/**
* restart redis service
* @return array

View File

@@ -51,9 +51,9 @@
$('.nav-tabs a').on('shown.bs.tab', function (e) {
history.pushState(null, null, e.target.hash);
});
// form save event handlers for all defined forms
$('[id*="save_"]').each(function(){
$(this).click(function() {

View File

@@ -21,4 +21,3 @@ command:/usr/local/etc/rc.d/redis status;exit 0
parameters:
type:script_output
message:request redis status

View File

@@ -35,7 +35,7 @@ use \OPNsense\Rspamd\RSpamd;
class ServiceController extends ApiControllerBase
{
/**
* restart rspamd service
* @return array

View File

@@ -57,9 +57,9 @@
$('#missing_redis_plugin').show();
}
});
// form save event handlers for all defined forms
$('[id*="save_"]').each(function(){
$(this).click(function() {

View File

@@ -6,4 +6,3 @@ mkdir -p /var/run/rspamd
chown nobody:nobody /var/db/rspamd
chown nobody:nobody /var/log/rspamd
chown nobody:nobody /var/run/rspamd

View File

@@ -60,4 +60,3 @@ whitelisted_rcpts = "{{ OPNsense.Rspamd.rate_limit.whitelisted_rcpts|default('po
max_rcpt = {{ OPNsense.Rspamd.rate_limit.max_rcpt|default('20') }};
{% endif %}

View File

@@ -23,6 +23,6 @@ timeout = 10s;
{% if helpers.exists('OPNsense.redis.security.password') and OPNsense.redis.security.password != '' %}
password = "{{ OPNsense.redis.security.password.replace('"',"\\\"") }}";
{% endif %}
{% endif %}
{% endif %}

View File

@@ -137,7 +137,7 @@ switch($action) {
// Get all AD* and DA* (IDE and SCSI) devices currently installed and stores them in the $devs array
exec("ls /dev | grep '^\(ad\|da\|ada\)[0-9]\{1,2\}$'", $devs);
if (count($devs) > 0) {
?>