Skip to content
Snippets Groups Projects
Commit d7e2e2b0 authored by Angie Byron's avatar Angie Byron
Browse files

#317238 by Pedro Lozano: Fix broken link to orphaned actions in watchdog.

parent 6bdd105f
No related branches found
No related tags found
No related merge requests found
...@@ -289,7 +289,7 @@ function actions_synchronize($actions_in_code = array(), $delete_orphans = FALSE ...@@ -289,7 +289,7 @@ function actions_synchronize($actions_in_code = array(), $delete_orphans = FALSE
} }
} }
else { else {
$link = l(t('Remove orphaned actions'), 'admin/build/actions/orphan'); $link = l(t('Remove orphaned actions'), 'admin/settings/actions/orphan');
$count = count($actions_in_db); $count = count($actions_in_db);
$orphans = implode(', ', $orphaned); $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', 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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment