JacksonRiver/springboard_modules — pull request #40 by benclark (2012-04-05 20:07:52+00:00)
Title: Adding ability to skip 'delete' actions on a node delete via a Drupal variable

This was added by request on BAVC because they didn't want node deletes to trigger a delete in Salesforce. I noticed that there was an inline comment "(maybe make a setting)", so I said to myself, I'll meet you halfway, and wrapped the sf_queue_insert() in a variable_get() call.

If you don't want this to go upstream Springboard, that's fine -- just thought I'd write up the pull request in case the product team wanted it here.

NOTE: this code assumes you DON'T want to call sf_queue_insert(). You might want to change that FALSE to a TRUE if that's not what we want.