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
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.