diff -r 07239de796bb -r e756a8c72c3d cms/drupal/modules/simpletest/tests/upgrade/drupal-7.trigger.database.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cms/drupal/modules/simpletest/tests/upgrade/drupal-7.trigger.database.php Fri Sep 08 12:04:06 2017 +0200 @@ -0,0 +1,28 @@ +fields(array( + 'hook', + 'aid', + 'weight', +)) +->values(array( + 'hook' => 'node_presave', + 'aid' => 'node_publish_action', + 'weight' => '1', +)) +->values(array( + 'hook' => 'comment_presave', + 'aid' => 'comment_publish_action', + 'weight' => '1', +)) +->values(array( + 'hook' => 'comment_delete', + 'aid' => 'node_save_action', + 'weight' => '1', +)) +->execute();