diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-07-16 10:30:56 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-07-16 13:51:31 +0100 |
commit | 1010d24d5d3c5085958e642f617ccb67286dc019 (patch) | |
tree | 60e45d74274dff27a62354bf430feff3166b9127 /perllib/FixMyStreet | |
parent | fcc46472c7abd45cdafd2c3bcb6bc673ebd300b5 (diff) |
[BANES] Move staff map code later.
Due to refactoring in 12d2346, this was loading prior
to the main asset code and thus not activating.
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/BathNES.pm | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/perllib/FixMyStreet/Cobrand/BathNES.pm b/perllib/FixMyStreet/Cobrand/BathNES.pm index 05c91c8dd..b6014a276 100644 --- a/perllib/FixMyStreet/Cobrand/BathNES.pm +++ b/perllib/FixMyStreet/Cobrand/BathNES.pm @@ -76,18 +76,6 @@ sub send_questionnaires { 0 } sub default_map_zoom { 3 } -sub map_js_extra { - my $self = shift; - - my $c = $self->{c}; - return unless $c->user_exists; - - my $banes_user = $c->user->from_body && $c->user->from_body->areas->{$self->council_area_id}; - if ( $banes_user || $c->user->is_superuser ) { - return ['/cobrands/bathnes/staff.js']; - } -} - sub category_extra_hidden { my ($self, $meta) = @_; my $code = $meta->{code}; |