function system_actions_remove_orphans

7.x system.admin.inc system_actions_remove_orphans()
6.x system.module system_actions_remove_orphans()

Remove actions that are in the database but not supported by any enabled module.

1 string reference to 'system_actions_remove_orphans'
system_menu in drupal-6.x/modules/system/system.module
Implementation of hook_menu().

File

drupal-6.x/modules/system/system.module, line 1650
Configuration system that lets administrators modify the workings of the site.

Code

function system_actions_remove_orphans() {
  actions_synchronize(actions_list(), TRUE);
  drupal_goto('admin/settings/actions/manage');
}