#3647 removed bad code
Merge pull request #3651 from dotCMS/issue-3647-contentletapi-publish-weird-code

#3647 removed bad code