Mercurial > defr > drupal > core
comparison includes/actions.inc @ 13:8b6c45761e01 6.6
Drupal 6.6
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:32:33 +0100 |
parents | 589fb7c02327 |
children | 3edae6ecd6c6 |
comparison
equal
deleted
inserted
replaced
12:4ca9f57cc4d4 | 13:8b6c45761e01 |
---|---|
1 <?php | 1 <?php |
2 // $Id: actions.inc,v 1.8.2.4 2008/09/05 09:29:22 dries Exp $ | 2 // $Id: actions.inc,v 1.8.2.5 2008/10/16 12:45:53 goba Exp $ |
3 | 3 |
4 /** | 4 /** |
5 * @file | 5 * @file |
6 * This is the actions engine for executing stored actions. | 6 * This is the actions engine for executing stored actions. |
7 */ | 7 */ |
296 actions_delete($action->aid); | 296 actions_delete($action->aid); |
297 watchdog('actions', "Removed orphaned action '%action' from database.", array('%action' => filter_xss_admin($action->description))); | 297 watchdog('actions', "Removed orphaned action '%action' from database.", array('%action' => filter_xss_admin($action->description))); |
298 } | 298 } |
299 } | 299 } |
300 else { | 300 else { |
301 $link = l(t('Remove orphaned actions'), 'admin/build/actions/orphan'); | 301 $link = l(t('Remove orphaned actions'), 'admin/settings/actions/orphan'); |
302 $count = count($actions_in_db); | 302 $count = count($actions_in_db); |
303 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); | 303 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); |
304 } | 304 } |
305 } | 305 } |
306 } | 306 } |