function system_actions_remove_orphans

system_actions_remove_orphans()

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

File

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

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.admin.inc/function/system_actions_remove_orphans/7.x