You are here

function system_actions_remove_orphans in Drupal 6

Same name and namespace in other branches
  1. 7 modules/system/system.admin.inc \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 modules/system/system.module
Implementation of hook_menu().

File

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');
}