Here's a patch for a Drupal 6 version of the currency module. This is my first patch submitted, so if I need to change anything in the formatting, please let me know.

Tested against 6.3.

Comments

scott falconer’s picture

StatusFileSize
new8.25 KB

Not sure why that attached as 0 bytes...let me try again.

kbahey’s picture

Version: 5.x-1.1 » 6.x-1.x-dev
Status: Needs review » Fixed

Thank you for the patch.

I created a 6.x dev release that will be available in 24 hours.

Please test it.

tr’s picture

This patch didn't change the .install file for the currency_api? The new D6 Schema API is a big part of the changes needed for a D6 version...

kbahey’s picture

Status: Fixed » Needs work

@TR

Can you please submit a patch for it here in this issue?

tr’s picture

Status: Needs work » Needs review
StatusFileSize
new1.58 KB

Attached is a .zip with two things in it:

1) currency.install
A new file needed for the currency module. Holds hook_uninstall() which removes variables set by this module.

2) currency_api_install.patch
A patch to the DRUPAL-6--1 branch, porting currency_api.install to D6.

Both these have been tested under D6.2. The modules install/uninstall cleanly under D6 without leaving behind any dreck in the database. The modules function correctly under D6 as far as I have tested.

kbahey’s picture

Status: Needs review » Fixed

Both committed.

We still have the bad tag on HEAD being DRUPAL-5, which I will get to in a week or so.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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