hhuijser/liferay-plugins — pull request #210 by zxdgoal (2014-07-10 07:01:28+00:00)
Title: Lps 48297

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 commented some lines in the code because I cannot understand why the workflow action is save draft, which leads that the page cannot be displayed correctly after edition when it is a spam.