Browse Source

Coder hackery.

pull/380/head
Jordan Dukart 12 years ago
parent
commit
a0fc2179da
  1. 8
      includes/derivatives.inc

8
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'); drupal_set_message(filter_xss(format_string($message['message'], isset($message['message_sub']) ? $message['message_sub'] : array())), isset($message['severity']) ? $message['severity'] : 'status');
} }
else { else {
// @codingStandardsIgnoreStart
// We know what we are doing here. Passing through the translated // We know what we are doing here. Passing through the translated
// message and the substitutions needed. // message and the substitutions needed. We are using
watchdog('islandora', $message['message'], isset($message['message_sub']) ? $message['message_sub'] : array(), isset($message['severity']) ? $message['severity'] : WATCHDOG_NOTICE); // call_user_func until such time as the @ignore changes
// @codingStandardsIgnoreEnd // 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);
} }
} }
} }

Loading…
Cancel
Save