diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-03-05 15:30:30 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-03-05 15:30:30 +0000 |
commit | 633ee2b0aa1856fbd9fcb9297c53b02b851c3101 (patch) | |
tree | 13243a5ea6075b5ad46c58faadd40620ca246eed /perllib | |
parent | f79e03c914d28c0c3bb2a05b7e38ddfdf1fce54f (diff) | |
parent | b19e2585ff03921326b67b303ffdc4879bc6a95d (diff) |
Merge branch '374-default-show-name'
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/BathNES.pm | 2 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Bromley.pm | 2 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 4 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Oxfordshire.pm | 2 |
4 files changed, 1 insertions, 9 deletions
diff --git a/perllib/FixMyStreet/Cobrand/BathNES.pm b/perllib/FixMyStreet/Cobrand/BathNES.pm index 800ca88fa..e3ae6763f 100644 --- a/perllib/FixMyStreet/Cobrand/BathNES.pm +++ b/perllib/FixMyStreet/Cobrand/BathNES.pm @@ -91,8 +91,6 @@ sub send_questionnaires { 0 } sub enable_category_groups { 1 } -sub default_show_name { 0 } - sub default_map_zoom { 3 } sub map_js_extra { diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm index 553d716c5..950431e85 100644 --- a/perllib/FixMyStreet/Cobrand/Bromley.pm +++ b/perllib/FixMyStreet/Cobrand/Bromley.pm @@ -46,8 +46,6 @@ sub problems_on_map_restriction { return $rs->to_body($tfl ? [ $self->body->id, $tfl->id ] : $self->body); } -sub default_show_name { 0 } - sub disambiguate_location { my $self = shift; my $string = shift; diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index 4c5d29ee5..a7b5273ff 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -1000,9 +1000,7 @@ Returns true if the show name checkbox should be ticked by default. =cut -sub default_show_name { - 1; -} +sub default_show_name { 0 } =item report_check_for_errors diff --git a/perllib/FixMyStreet/Cobrand/Oxfordshire.pm b/perllib/FixMyStreet/Cobrand/Oxfordshire.pm index b8dc49f72..5def2bb61 100644 --- a/perllib/FixMyStreet/Cobrand/Oxfordshire.pm +++ b/perllib/FixMyStreet/Cobrand/Oxfordshire.pm @@ -73,8 +73,6 @@ sub default_map_zoom { return 3; } # let staff hide OCC reports sub users_can_hide { return 1; } -sub default_show_name { 0 } - sub lookup_by_ref_regex { return qr/^\s*((?:ENQ)?\d+)\s*$/; } |