system_actions_remove_orphans
- Versions
- 6 – 7
system_actions_remove_orphans()
Remove actions that are in the database but not supported by any enabled module.
Code
modules/system/system.module, line 1607
<?php
function system_actions_remove_orphans() {
actions_synchronize(actions_list(), TRUE);
drupal_goto('admin/settings/actions/manage');
}
?>Login or register to post comments 