What is involved in updating a module from 4.7 to 5.1?

I'm particularly interested in being able to integrate Phorum in Drupal but there is currently only support for 4.7, so I'd like to see what would be involved in updating it.

Comments

jpolt’s picture

Thanks for an overview of the changes required - it looks quite daunting for someone who has never attempted this before . Having said that the module I'm looking at, the phorum integration module

http://ftp.osuosl.org/pub/drupal/files/projects/phorum_integrate-4.7.x-1...

is realtively short and only includes a couple of functions. Is there any way to tell if it actually needs any changes?

It does lack an info file. Could that be the only thing it needs for 5.1?

heine’s picture

Is there any way to tell if it actually needs any changes?

Making an info file and trying would be one way. The other way would be to compare the functions/functionality to the changes listed in Converting 4.7.x modules to 5.x.

So, at least an info file and http://drupal.org/node/64279#hook-settings.
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.

jpolt’s picture

Presumably that means changing this function...

function phorum_integrate_settings()

That looks to be the only one as far as I can see...