Lps 50813 master

As discussed in this forum post:
https://in.liferay.com/web/global.engineering/forums/-/message_boards/message/3636328

I removed a legacy clause that was causing Oracle databases to fail when attempting to get a list of document types