- Since Drupal 7 has an auto-loading class registry, we don't need to use unfuddle_api_create() anymore. People can just do $unfuddle = new Unfuddle(); from anywhere and it will work.
- Also moved the form prefix to hook_help().
- Menu paths use dashes instead of underscores as the standard set by core.
- When using system_settings_from, we no longer need to call variable_get() for #default_value. Just list the actual default value. system_settings_form will automatically call variable_get for us.

CommentFileSizeAuthor
#1 634582-unfuddleapi-D7.patch4.75 KBdave reid

Comments

dave reid’s picture

Status: Active » Needs review
StatusFileSize
new4.75 KB
jody lynn’s picture

Status: Needs review » Fixed

Thanks for the many port improvements. I committed it along with corresponding updates to the README.

Status: Fixed » Closed (fixed)

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