juanferrub/liferay-portal — pull request #180 by matethurzo (2012-04-12 15:43:32+00:00)
Title: LPS-25224

Hi Juan,

This pull request is a slight refactor for the database index creation/dropping during the portal start up.

The idea behind this change is that the patching tool sometimes adds or removes patches which contain some new database indexes, or when we are deleting a patch an index should be dropped. But in order to know what index should we drop we should validate that it hasn't been added by the user.

I'm cc-ing Zsolt Balogh (@zsoltbalogh) since he is the responsible for the patching tool.

Thanks,

Máté