Follow up of
New action is almost an identical copy of info.magnolia.pages.app.action.RestorePreviousVersionAction - pls try to extract common code rather than duplicate. Most likely the one from pages should base on the "general" action.
#getPreviousVersion() is 100% identical
#execute() is very similar
Make sure the API is not changed.