The following code in destinations.file.inc is incorrect:

watchdog('security', t($message, $replace), WATCHDOG_ERROR);

It should be:

watchdog('security', $message, $replace, WATCHDOG_ERROR);

CommentFileSizeAuthor
#1 1556498-bm-watchdog.patch866 bytesdave reid

Comments

dave reid’s picture

Status: Active » Needs review
StatusFileSize
new866 bytes
dave reid’s picture

I've confirmed this watchdog() call is not present in 7.x-2.x.

ronan’s picture

Status: Needs review » Closed (fixed)

Thanks for the patch. Most of my messages are wrapped in a helper function (which outputs messages differently when backups happen via Drush, cron or the ui) so I've switched that one to use the helper too.

Thanks again
R