Preparing the implementation of an array to replace the list of different variables.
| Comment | File | Size | Author |
|---|---|---|---|
| settings.patch | 1.54 KB | dynv |
Preparing the implementation of an array to replace the list of different variables.
| Comment | File | Size | Author |
|---|---|---|---|
| settings.patch | 1.54 KB | dynv |
Comments
Comment #1
dynv commentedoops ! Status ...
Comment #2
david lesieur commentedEncapsulating trivial functions like variable_set() and variable_get(), validating function arguments and checking db_error() after variable_set() all seem overkill and very un-drupalesque. I do love the programming by contract paradigm, but it is a bit out of place in PHP.
Comment #3
dynv commentedI think you're right after all ! I looked at other modules for unknowns but I should've looked at all interfaces (DB included) ...
Comment #4
dynv commented