Problem/Motivation
Currently the condition in omega_extension_enabled() basically just allows variables set in the settings.php do disable already enabled theme settings.
This means I can disable Enable Development extension by using $conf['omega_toggle_extension_development'] = FALSE; in settings.php but I can't enable it (No not even if I use $conf['omega_toggle_extension_development'] = TRUE;) ;).
Proposed resolution
Change the condition in omega_extension_enabled() as proposed in the attached patch.
Tests look positive so far.
Remaining tasks
Reviews needed
User interface changes
None
API changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | omega-allow-enabling-extensions-by-variable-override-2279669-2.patch | 1005 bytes | das-peter |
Comments
Comment #1
fubhy commentedCan we make that a little simpler? Like so:
Comment #2
das-peter commentedAdjusted patch.
Comment #3
fubhy commented