Closed (fixed)
Project:
Honeypot
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2011 at 02:02 UTC
Updated:
30 Aug 2011 at 02:11 UTC
The following error is thrown during Honeypot uninstall in Drupal 6.x, only if caching is not enabled:
user warning: Table 'd6test.cache_bootstrap' doesn't exist query: DELETE FROM cache_bootstrap WHERE cid = 'variables' in /Users/jgeerling/Sites/d6test/includes/cache.inc on line 178.
This is likely due to my call to the following in hook_uninstall():
cache_clear_all('variables', 'cache_bootstrap');
I should check to make sure the tables exist before clearing the caches. Or just forget about clearing those caches (is it really necessary?).
This may be an issue with 7.x as well...
Comments
Comment #1
geerlingguy commentedChanging title, will also port this to 7.x.
Commit for 6.x here: http://drupalcode.org/project/honeypot.git/commit/9803284 (I'll leave it as a -dev release for now, since it's not really a big deal at all).
Comment #2
geerlingguy commentedCommit for D7 branch: http://drupalcode.org/project/honeypot.git/commit/135c8cc