Closed (fixed)
Project:
e-Commerce
Version:
5.x-4.x-dev
Component:
installation
Priority:
Minor
Category:
Feature request
Assigned:
Reporter:
Created:
16 Jan 2007 at 09:56 UTC
Updated:
14 May 2007 at 20:36 UTC
It appears none of the install scripts have uninstall hooks implemented, so I took the liberty to add some. Basically it's clean-up code to drop tables so that the user can permanently remove a module from the database. Also means that using a tool like 'devel' does not require manual dropping of the tables.
I implemented the hook for the following EC modules:
- address
- cart
- contrib/ec_region
- contrib/flexicharge
- ec_anon
- file
- invoice
- parcel
- payment
- paypal
- product
- shipping
- store
- subproducts
- tangible
- tax
Also note that the patch fixes a table name typo for PGSQL in the shipping module.
| Comment | File | Size | Author |
|---|---|---|---|
| hook_uninstall.patch | 11.33 KB | jerryjvl |
Comments
Comment #1
gordon commentedThanks I have commited this to HEAD.
Comment #2
gordon commentedCan this patch please be ported to the new DRUPAL-5--3 branch
Comment #3
gordon commentedComment #4
grsingleton commentedI will give it a go. The patch looks very much like what I have and am preparing so will restart with this on. If there are variables that should also be deleted when uninstalling so one can get a clean start I would like to know these as well. So far I have not found anything that seems to apply but I am wary that variables could prevent the install scripts from executing.
Comment #5
simefixing component
Comment #6
gordon commentedbackported to v4
Comment #7
dries commented