Commit fe45f3e6 authored by Denver Gingerich's avatar Denver Gingerich

similar to 0584ef54, Catapult needs just "Langley"

parent 0584ef54
......@@ -141,6 +141,18 @@ if (empty($num_list) &&
}
# TODO: add other city names as appropriate (test larger ones)
if (empty($num_list) &&
('township of langley' == $mm_city && 'bc' == $mm_region)) {
$mm_city = 'langley';
$url = "https://$tuser:$token@api.catapult.inetwork.com/v1/available".
"Numbers/local?quantity=3000&city=".$mm_city."&state=".
$mm_region;
$num_list = get_num_list($url);
}
if (empty($num_list) &&
('waterloo' == $mm_city && 'on' == $mm_region) ||
('kitchener' == $mm_city && 'on' == $mm_region)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment