Closed (duplicate)
Project:
Theme developer
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2009 at 20:48 UTC
Updated:
5 Nov 2010 at 15:43 UTC
This post is addition to already closed issue devel_themer leaves files in /tmp on the subject of cleaning the devel_themer_* files from temporary directory, files which are created when themer is used.
With the current version, 6.x-1.17, the devel_themer_* files are deleted during cron run BUT only if themer is enabled.
Depending on how everyone works/develop, depending on website, cron runs, etc., I personally found it useful to add deleting those files when the themer is being disabled and used hook_disable to do so.
If you want to use it the same way, just add the code below to devel_themer.install file:
/**
* Implementation of hook_disable().
*/
function devel_themer_disable() {
devel_themer_cleanup();
}
Comments
Comment #1
moshe weitzman commentedComment #2
tjmoyer commentedI agree. When we're not working on theme-specific issues we have devel_themer disabled. But running cron then obviously doesn't clean out the old devel_themer_* files. This addition would be very helpful. I'll patch it into our working copy.
Thanks!
Comment #3
JeremyFrench commentedI am going to mark this a duplicate of #647536: Theme developer creates too many files as we have a number of tickets on the same subject. I will make sure that solution incorporates turning off theme developer.