This adds the missing uninstall routine to Google Analytics module.

It works for 5.x and 6.x

CommentFileSizeAuthor
googleanalytics_uninstall.patch988 byteshass

Comments

budda’s picture

Category: bug » task
Status: Needs review » Fixed

Bad patch didn't apply to 5.x

mike@leopard:~/drupal5/sites/all/modules/google_analytics$ patch -p0 < googleanalytics_uninstall.patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 10
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|### Eclipse Workspace Patch 1.0
|#P drupal-contrib-5
|Index: modules/google_analytics/googleanalytics.install
|===================================================================
|RCS file: /cvs/drupal-contrib/contributions/modules/google_analytics/googleanalytics.install,v
|retrieving revision 1.2
|diff -u -r1.2 googleanalytics.install
|--- modules/google_analytics/googleanalytics.install   21 Nov 2006 14:17:54 -0000      1.2
|+++ modules/google_analytics/googleanalytics.install   7 Aug 2007 23:34:06 -0000
--------------------------
File to patch:

Manually added _uninstall hook.

hass’s picture

i think the correct syntax to apply for this patch is:

patch < googleanalytics_uninstall.patch

Anonymous’s picture

Status: Fixed » Closed (fixed)