The current warning says:
"Parameters of watchdog() changed, you no longer need to use t (Drupal Docs)"
However, the fact is that if you watchdog() *with* t() then for each log entry, on admin/reports/dblog you get:
# warning: Invalid argument supplied for foreach() in /Users/webchick/Sites/6x/includes/common.inc on line 779.
# warning: strtr() [function.strtr]: The second argument is not an array. in /Users/webchick/Sites/6x/includes/common.inc on line 796.
... just by viewing the page. Not good.
This patch just re-words the error to be a bit stronger:
"Parameters of !watchdog() changed, you must remove calls to !t()"
Comments
Comment #1
webchickComment #2
douggreen commentedCommitted, thanks!
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.