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.admin.inc, line 2924

<?php
function system_actions_remove_orphans() {
  actions_synchronize(TRUE);
  drupal_goto('admin/config/system/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.