Mercurial > defr > drupal > core
diff includes/actions.inc @ 9:acef7ccb09b5 6.4
Drupal 6.4
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:32:08 +0100 |
parents | fff6d4c8c043 |
children | 589fb7c02327 |
line wrap: on
line diff
--- a/includes/actions.inc Tue Dec 23 14:30:28 2008 +0100 +++ b/includes/actions.inc Tue Dec 23 14:32:08 2008 +0100 @@ -1,5 +1,5 @@ <?php -// $Id: actions.inc,v 1.8.2.1 2008/04/23 18:06:36 dries Exp $ +// $Id: actions.inc,v 1.8.2.3 2008/08/12 06:57:31 dries Exp $ /** * @file @@ -11,7 +11,7 @@ * * Given the IDs of actions to perform, find out what the callbacks * for the actions are by querying the database. Then call each callback - * using the function call $function($object, $context, $a1, $2) + * using the function call $function($object, $context, $a1, $a2) * where $function is the name of a function written in compliance with * the action specification; that is, foo($object, $context). * @@ -300,7 +300,7 @@ else { $link = l(t('Remove orphaned actions'), 'admin/build/actions/orphan'); $count = count($actions_in_db); - 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), 'warning')); + 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); } } }