Closed (fixed)
Project:
FullCalendar
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2011 at 13:44 UTC
Updated:
9 May 2011 at 16:21 UTC
But I just fixed it :-)
| Comment | File | Size | Author |
|---|---|---|---|
| fullcalendar_colors_hook_uninstall_fix.patch | 649 bytes | aspilicious |
Comments
Comment #1
aspilicious commentedComment #2
tim.plunketthttp://drupalcode.org/project/fullcalendar.git/commit/ffe6839
Comment #3
geerlingguy commentedIsn't there a more Drupal-y way of doing variable deletions?
[Edit: Just realized... no way of knowing how many variables there might be, so this is probably the best solution, unless we have a db table to hold all the color values instead of putting them in the variables table :-)]
Comment #4
aspilicious commentedI looked at a database table and that's kind of a mess. When saving the admin form we would have to run again through all the colors and db_merge them.
Comment #5
tim.plunkettI borrowed this method from Pathauto, since it also has to delete variables that it dynamically created.