As you may know the 5.x dev version does not work. The attached patch has some quick fixes, the features should be the same as the 4.7 version.

List of changes:

  • Changed main callback to revision_deletion_page(). Module function names are usually of the form module_name_function.
  • Added settings menu item.
  • Made drupal_get_form and node_get_types calls version 5 compatible.
  • Added revision_deletion_page_form function and change revision_del_submit to revision_deletion_page_form_submit as a result
  • By default all node types where selected for revision deletion. I changed it so none were selected initially. This is just a personal preference, don't really mind either way.

I did a quick test and things seem to work as they should. No guarantees though.

CommentFileSizeAuthor
revision_deletion_5.patch4.73 KBcanen

Comments

Gman’s picture

Thank you for helping clean this up. I have been too busy for proper attention. I plan on looking at all the issues this weekend.

Gman’s picture

Status: Needs review » Closed (fixed)

This patch has been committed. Added a few other clean up items as well. http://drupal.org/cvs?commit=71940