pyrocms/pyrocms — pull request #2479 by mikaelkundert (2013-02-24 01:58:52+00:00)
Title: Fix for #2474. Makes some of the option form elements conditionally visible

I added comments and permissions settings optionally displayed depending whether modules are enabled or not.

Also, I updated the model so those two settings are added in `__construct()` method if the modules are enabled.

I wonder, how much these "are the modules enabled" checks are made overall in the core?