From c8a813f82ebdc9b77eedaa6abf9335aa96149752 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 11 Dec 2010 02:09:00 +0000 Subject: - Patch #992564 by wojtha: t() or format_plural() inside watchdog() function call in tracker and action module. --- includes/actions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/actions.inc') diff --git a/includes/actions.inc b/includes/actions.inc index fa1f7d386..0daf8e86d 100644 --- a/includes/actions.inc +++ b/includes/actions.inc @@ -312,7 +312,7 @@ function actions_synchronize($delete_orphans = FALSE) { $link = l(t('Remove orphaned actions'), 'admin/config/system/actions/orphan'); $count = count($actions_in_db); $orphans = implode(', ', $orphaned); - watchdog('actions', format_plural($count, 'One orphaned action (%orphans) exists in the actions table. !link', '@count orphaned actions (%orphans) exist in the actions table. !link'), array('@count' => $count, '%orphans' => $orphans, '!link' => $link), WATCHDOG_WARNING); + watchdog('actions', '@count orphaned actions (%orphans) exist in the actions table. !link', array('@count' => $count, '%orphans' => $orphans, '!link' => $link), WATCHDOG_WARNING); } } } -- cgit v1.2.3