diff --git a/includes/derivatives.inc b/includes/derivatives.inc index 67979d4a..4a422535 100644 --- a/includes/derivatives.inc +++ b/includes/derivatives.inc @@ -94,11 +94,11 @@ function islandora_derivative_logging(array $logging_results) { drupal_set_message(filter_xss(format_string($message['message'], isset($message['message_sub']) ? $message['message_sub'] : array())), isset($message['severity']) ? $message['severity'] : 'status'); } else { - // @codingStandardsIgnoreStart // We know what we are doing here. Passing through the translated - // message and the substitutions needed. - watchdog('islandora', $message['message'], isset($message['message_sub']) ? $message['message_sub'] : array(), isset($message['severity']) ? $message['severity'] : WATCHDOG_NOTICE); - // @codingStandardsIgnoreEnd + // message and the substitutions needed. We are using + // call_user_func until such time as the @ignore changes + // are merged into the standard release for Coder. + call_user_func('watchdog', $message['message'], isset($message['message_sub']) ? $message['message_sub'] : array(), isset($message['severity']) ? $message['severity'] : WATCHDOG_NOTICE); } } }