Commit 0703842d authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Put back in original position

parent 1c559753
......@@ -1525,8 +1525,8 @@ function uw_ct_event_get_combine_month_array($month_date_value, $month_date_valu
* but they only fired from the node/edit page, not from the workbench info block.
*/
function uw_ct_event_workbench_moderation_transition($node, $previous_state, $new_state) {
global $base_root;
if ($node->type === 'uw_event' && $base_root === 'https://uwaterloo.ca') {
global $base_root;
$path = trim(base_path(), '/');
$current = (property_exists($node->workbench_moderation['current'], 'current') && $node->workbench_moderation['current']->current == TRUE);
$is_current = (property_exists($node->workbench_moderation['current'], 'is_current') && $node->workbench_moderation['current']->is_current == TRUE);
......
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