Remove Orphaned Actions with Drush and Updatescripts

Sep 22, 2015 08:40 · 14 words · 1 minute read drupal

With Drush only:

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

Inside a Drush Updatescript:

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