If you have a pre 7.4 module, often all you have to do is to update the constructor; not always, but the majority of the time. Any module with PHP MySql function calls will have to have those functions converted to Cheetah DB functions.
Here is an example of the constructor
/**
* Constructor
*/
function __construct($aModule)
{
parent::__construct($aModule);