1 system.install system_update_1006()

Delete unneeded actions for manually saving comments and nodes.

Related topics

File

core/modules/system/system.install, line 1725
Install, update and uninstall functions for the system module.

Code

function system_update_1006() {
  db_delete('actions')
    ->condition('aid', array('comment_save_action', 'node_save_action'), 'IN')
    ->execute();
}