From a0fc2179da3cb212d88e78dc66bdd3a043631e3d Mon Sep 17 00:00:00 2001 From: Jordan Dukart Date: Thu, 8 Aug 2013 18:45:36 +0000 Subject: [PATCH] Coder hackery. --- includes/derivatives.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); } } }