ezsystems/ezp-next — pull request #77 by pspanja (2012-10-05 18:20:11+00:00)
Title: Trash refactor

In 4.x it is possible to trash only last (and thus also main) location. If location is not last location of content, it is deleted instead of trashed, and the same is done for every location in the subtree.
Recovering from trash is possible only if content is in archived state.

This PR changes trash implementation to be 4.x compatible.