Skip to main content
The `actions_synchronize()` function only takes one optional argument. The function that was present in the example would have returned an array that would evaluate to TRUE so would have worked despite the full example being technically incorrect.
Source Link

If you're using Devel module then you can simply go to your-site/devel/php and then execute the below code:

actions_synchronize(actions_list(), TRUE); 

or else in any of yourYour question indicates you have drush so you could evaluate the command with that;

drush eval 'actions_synchronize(TRUE)'

If you need to do this on a remote install where you don't have access to drush you can add this to a custom module's .install file write anwith a hook_update_n()

/** * Implements hook_update_n(). * actions_synchronize(). */ function yourmodule_update_7001() { actions_synchronize(actions_list(), TRUE); } 

and then execute yoursite/update.php or if your're. You can test this locally using drush then drush updb as well.

If you're using Devel module then you can simply go to your-site/devel/php and then execute the below code:

actions_synchronize(actions_list(), TRUE); 

or else in any of your custom module's .install file write an hook_update_n()

/** * Implements hook_update_n(). * actions_synchronize(). */ function yourmodule_update_7001() { actions_synchronize(actions_list(), TRUE); } 

and then execute yoursite/update.php or if your're using drush then drush updb

If you're using Devel module then you can simply go to your-site/devel/php and then execute the below code:

actions_synchronize(TRUE); 

Your question indicates you have drush so you could evaluate the command with that;

drush eval 'actions_synchronize(TRUE)'

If you need to do this on a remote install where you don't have access to drush you can add this to a custom module's .install file with a hook_update_n()

/** * Implements hook_update_n(). * actions_synchronize(). */ function yourmodule_update_7001() { actions_synchronize(TRUE); } 

and then execute yoursite/update.php. You can test this locally using drush updb as well.

Source Link

If you're using Devel module then you can simply go to your-site/devel/php and then execute the below code:

actions_synchronize(actions_list(), TRUE); 

or else in any of your custom module's .install file write an hook_update_n()

/** * Implements hook_update_n(). * actions_synchronize(). */ function yourmodule_update_7001() { actions_synchronize(actions_list(), TRUE); } 

and then execute yoursite/update.php or if your're using drush then drush updb