Remove Orphaned Actions with Drush and Updatescripts

With Drush only:

drush php-eval "actions_synchronize(actions_list(), TRUE);"

Inside a Drush Updatescript:

$this->drush('php-eval "actions_synchronize(actions_list(), TRUE);"');

Need a great new website or a helping hand with Drupal? Head over to www.klickreflex.de or contact me directly to see if we can work something out.