moltam89/liferay-portal — pull request #329 by vilmospapp (2014-03-04 08:58:11+00:00)
Title: [TECHNICAL SUPPORT] LPS-44722 Fix Remote Staging turn off problem with page versioning

Hi Tamás,

The main issue is that with page versioning enabled after turning off remote staging, not the latest published version of the stage site is kept. As I discussed with @KocsisDaniel the fix should take care of the data update from the head revisions back to the layouts.

Please review my fix and let me know if you have any concerns.