summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-12-11 02:09:00 +0000
committerDries Buytaert <dries@buytaert.net>2010-12-11 02:09:00 +0000
commitc8a813f82ebdc9b77eedaa6abf9335aa96149752 (patch)
treec3d12f408a5e468d40fa0fdcb2240a8658b8af6a
parent1b073521dfbb61428e0c44a18e659de273482232 (diff)
downloadbrdo-c8a813f82ebdc9b77eedaa6abf9335aa96149752.tar.gz
brdo-c8a813f82ebdc9b77eedaa6abf9335aa96149752.tar.bz2
- Patch #992564 by wojtha: t() or format_plural() inside watchdog() function call in tracker and action module.
-rw-r--r--includes/actions.inc2
-rw-r--r--modules/tracker/tracker.module2
2 files changed, 2 insertions, 2 deletions
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);
}
}
}
diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module
index 4a2df61ab..f75354ebb 100644
--- a/modules/tracker/tracker.module
+++ b/modules/tracker/tracker.module
@@ -139,7 +139,7 @@ function tracker_cron() {
// Prepare a starting point for the next run.
variable_set('tracker_index_nid', $last_nid - 1);
- watchdog('tracker', t('Indexed %count content items for tracking.', array('%count' => $count)));
+ watchdog('tracker', 'Indexed %count content items for tracking.', array('%count' => $count));
}
else {
// If all nodes have been indexed, set to zero to skip future cron runs.