Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkenn4545 authored Jan 25, 2017
1 parent 4501e3e commit 35fd42c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions manifests/resource/location.pp
Original file line number Diff line number Diff line change
Expand Up @@ -407,13 +407,6 @@

$config_file = "${server_dir}/${server_sanitized}.conf"

if !($location =~ /^~/) {
$location_sanitized_tmp = regsubst($location, '\/', '_', 'G')
$location_sanitized = regsubst($location_sanitized_tmp, '\\\\', '_', 'G')
} else {
$location_sanitized = $location_sanitized_tmp
}

if $ensure == present and $fastcgi != undef and !defined(File[$fastcgi_params]) {
file { $fastcgi_params:
ensure => present,
Expand Down

0 comments on commit 35fd42c

Please sign in to comment.