3 May
2007
3 May
'07
11:08 p.m.
On 03 May 2007, at 21:43, Peter Wolanin wrote:
I don't think the suggestion below makes sense (setting variable defaults via hook_install), at least if we assume that the way to reset a module setting is to delete the corresponding variable.
Setting a variable on hook_install sounds clumsy, especially when we have /dynamic/ variables of the form: variable_get($node->type ."_something", ...) You simply don't know at install time, what variables might become available later on ... -- Dries Buytaert :: http://www.buytaert.net/