[development] Foreign keys in Drupal 6

Barry Jaspan barry at jaspan.org
Wed Jun 13 15:19:58 UTC 2007


"Fernando Silva" <fsilva.pt at gmail.com> writes:
> Options for disabling:
> * "do you wish to clear all inserted data?"

If we use RESTRICT on delete, the only possible answer to that
question is "yes", so this would just be a standard confirmation
screen.  Also, since we will have to clear all a module's data when it
is disabled, we'd be making "disable" the same as "uninstall."

Do people think eliminating the "disabled" state so only
installed/uninstalled states exist is a good idea?

> * system should always run "delete" even if it is disabled

This would mean that even disabled modules get parsed and executed;
that violates my sense of what "disabled" means (and re-introduces
performance penalties eliminating by .info files).

Thanks,

Barry



More information about the development mailing list