You are here

function system_actions_remove_orphans in Drupal 7

Same name and namespace in other branches
  1. 6 modules/system/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 modules/system/system.module
Implements hook_menu().

File

modules/system/system.admin.inc, line 3246
Admin page callbacks for the system module.

Code

function system_actions_remove_orphans() {
  actions_synchronize(TRUE);
  drupal_goto('admin/config/system/actions/manage');
}