hhuijser/liferay-plugins — pull request #212 by zxdgoal (2014-07-10 08:56:56+00:00)
Title: Lps 48937

https://issues.liferay.com/browse/LPS-48297

The method of updatePage() in WikiPagelocalServiceUtilImpl.java will return a new page whose version is one larger than the old page's.

However, in my view, the version of page should not be added when it is just marked as spam or not spam without reverting to its old version. So, I removed that method. Now the content can been seen after created by a user and its version is not changed after markings.

I also deleted lines 69-73 and 136-140 because I cannot see why the workflow action is save draft, which leads that the page cannot be displayed correctly after edition when it is a spam.