This patch switches admin_message from using an install script to create the admin_message node type to using the Drupal core node hooks. Given that the module will not work without the content type existing it should provide it in code (and thus prevent the user from deleting it by accident).

CommentFileSizeAuthor
admin_message-hook_node_info.patch.txt3.52 KByhahn

Comments

anders.fajerson’s picture

Status: Needs review » Fixed

Great patch.

Committed: http://drupal.org/cvs?commit=238038

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.