Closed (fixed)
Project:
GeoUser
Version:
6.x-1.6-beta
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2008 at 03:51 UTC
Updated:
3 Mar 2009 at 16:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
frankcarey commentedHere is a patch for the geouser.install file. It pretty much replaces the entire file...
What it does:
- replaces the table creation code with an implementation of hook_schema
- adds the uninstall_schema hook to remove the db if the module is uninstalled
- adds an update to add the new 'region' field added somwhere btw 1.4 and 1.7 beta
Comment #2
frankcarey commentedchanging the status (surprised it's not automatic)
Comment #3
frankcarey commentedOld patch had a missing return statement for the schema, this one fixes that.
Comment #4
zidong.c commentedHI,
I'm the author of geouser module, thanks for helping me to find the advantage to implementing schema api instead of using sql to create a database.
I have already apply this patch in the latest release.
Thanks again.
Zidong
Comment #5
frankcarey commentedAlso, please commit this other patch so that the module will work for those who use table prefixes (i.e. drupal_geouser instead of geouser)
http://drupal.org/node/353952