dnadesign/silverstripe-versioned-gridfield — pull request #5 by Leapfrognz (2014-06-16 01:13:37+00:00)
Title: Use doPublish instead of publish('Stage', 'Live')

From what I understand, doPublish does the same thing as publish, but it has the onBeforePublish and onAfterPublish hooks