Preparing the implementation of an array to replace the list of different variables.

CommentFileSizeAuthor
settings.patch1.54 KBdynv

Comments

dynv’s picture

Status: Needs work » Needs review

oops ! Status ...

david lesieur’s picture

Status: Needs review » Closed (won't fix)

Encapsulating 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.

dynv’s picture

Status: Closed (won't fix) » Closed (fixed)

I think you're right after all ! I looked at other modules for unknowns but I should've looked at all interfaces (DB included) ...

dynv’s picture

Assigned: Unassigned » dynv