diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-10-03 22:08:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-03 22:08:55 +0200 |
commit | f81ef54f3224d875c40076636282e2b7387a7fd4 (patch) | |
tree | 0a80aa8d4c0b408258a72d653dfabd0b587b3e37 /Bugzilla/Quantum/Static.pm | |
parent | df00fc4c827311b0849b243dbb2d650a2c1957cd (diff) | |
download | bugzilla-f81ef54f3224d875c40076636282e2b7387a7fd4.tar.gz bugzilla-f81ef54f3224d875c40076636282e2b7387a7fd4.tar.xz |
no bug - reformat all new quantum files using new standard
Diffstat (limited to 'Bugzilla/Quantum/Static.pm')
-rw-r--r-- | Bugzilla/Quantum/Static.pm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Bugzilla/Quantum/Static.pm b/Bugzilla/Quantum/Static.pm index 4543d1b84..6ac803e96 100644 --- a/Bugzilla/Quantum/Static.pm +++ b/Bugzilla/Quantum/Static.pm @@ -16,15 +16,15 @@ my $LEGACY_RE = qr{ }xs; sub file { - my ( $self, $rel ) = @_; + my ($self, $rel) = @_; - if ( my ($legacy_rel) = $rel =~ $LEGACY_RE ) { - local $self->{paths} = [ bz_locations->{cgi_path} ]; - return $self->SUPER::file($legacy_rel); - } - else { - return $self->SUPER::file($rel); - } + if (my ($legacy_rel) = $rel =~ $LEGACY_RE) { + local $self->{paths} = [bz_locations->{cgi_path}]; + return $self->SUPER::file($legacy_rel); + } + else { + return $self->SUPER::file($rel); + } } 1; |