We already have too many separate tables for holding code. Please reuse an existing code-holding table and only create a nodetype and change your check to be for this nodetype rather than for the existance of $node->{rulecode}.
Otherwise, that looks great.
- tye
In reply to Re: Adding a 'rule' system to isApproved() (fewer tables)
by tye
in thread Adding a 'rule' system to isApproved()
by demerphq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |