Commit d7ea5a93 authored by Chris Shantz's avatar Chris Shantz
Browse files

removed2nd web hook going to opendata-api3 as per Nathan's request.

parent 3780d917
......@@ -1398,7 +1398,6 @@ function uw_ct_event_workbench_moderation_transition($node, $previous_state, $ne
if ($node->type == 'uw_event' && $base_root == 'https://uwaterloo.ca') {
if ($node->workbench_moderation['current']->current == TRUE && $node->workbench_moderation['current']->published == TRUE) {
drupal_http_request('https://api.uwaterloo.ca/v2/ping/events.json?key=9d05d46d1d02660f973eccda18c3cc45&type=events&site=' . $path . '&nid=' . $node->nid, $options = array('timeout' => 5.0));
drupal_http_request('https://opendata-api3.uwaterloo.ca/v2/ping/events.json?key=9d05d46d1d02660f973eccda18c3cc45&type=event&site=' . $path . '&nid=' . $node->nid, $options = array('timeout' => 5.0));
}
}
}
Supports Markdown
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