Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit 6fd3759

Browse files
committed
Revert "Workaround incomplete hexbin-to-hexgrid transition (again)"
The same fix has been applied by HabitatSeven upstream. This reverts commit 93a179c.
1 parent 02c589d commit 6fd3759

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

bin/init-db-and-generate-static-site.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -176,16 +176,6 @@ patch_version_php() {
176176
EOF
177177
}
178178

179-
workaround_incomplete_hexbin_to_hexgrid_transition() {
180-
# We currently have 5km "hexbin" and 1km "hexgrid" on riskprofiler.ca
181-
sed -i -f - site/assets/themes/fw-child/resources/js/rp_scenarios.js <<'EOF'
182-
s/shakemap_hexbin/shakemap_hexgrid/
183-
184-
/if (aggregation.agg == '5km') {/a\
185-
tile_url.collection = tile_url.collection.slice(0, -4) + 'bin'
186-
EOF
187-
}
188-
189179
simply_static_site_export() {
190180
set -x
191181
wp cron event schedule 'simply_static_site_export_cron'
@@ -301,7 +291,6 @@ main() {
301291
get_git_describe
302292
get_api_version
303293
patch_version_php
304-
workaround_incomplete_hexbin_to_hexgrid_transition
305294
simply_static_site_export
306295
fixup_static_site
307296

0 commit comments

Comments
 (0)