summaryrefslogtreecommitdiff
path: root/cron.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-01-02 16:24:28 +0000
committerDries Buytaert <dries@buytaert.net>2004-01-02 16:24:28 +0000
commitf6082cda98eab9732801e815a05aad1017446b12 (patch)
tree2c30aabd47f518b47d94c6378116ea8235c23093 /cron.php
parent604064b52395da6713b6e579f7d2d0ad219b8148 (diff)
downloadbrdo-f6082cda98eab9732801e815a05aad1017446b12.tar.gz
brdo-f6082cda98eab9732801e815a05aad1017446b12.tar.bz2
- Fixed bug 4916: users can have disabled themes. Modified patch by Mathias.
1. Remove the theme object. There is no need to keep it around since meta information for a theme can be retrieved via list_themes(). All we really need is the theme name. 2. Check if the user selected theme is enabled during theme initialization. This is the easiest place to put the check and doesn't mess with the user's settings. Their database profile will still contain the disabled theme selection, but they will be rendering the default admin-selected theme until their chosen theme is once again activated.
Diffstat (limited to 'cron.php')
0 files changed, 0 insertions, 0 deletions