summaryrefslogtreecommitdiff
path: root/modules/blog/blog.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-05-25 06:47:47 +0000
committerDries Buytaert <dries@buytaert.net>2002-05-25 06:47:47 +0000
commite426775fd55ee7e5a6129d77da30e517b58eb27d (patch)
tree5b5a5db7fa48a8c8b6f2b49adb46bf79000b06ec /modules/blog/blog.module
parent04e491f8469382fe1935d89ed9b05978fce2ee00 (diff)
downloadbrdo-e426775fd55ee7e5a6129d77da30e517b58eb27d.tar.gz
brdo-e426775fd55ee7e5a6129d77da30e517b58eb27d.tar.bz2
- Bugfix. When a theme does no longer exist on disk, it should not be
returned by theme_list() as it breaks the site ... The attached patch prevents this from happening but does not remove the theme from the system table in the SQL database - if the theme is removed from the database upon viewing the themes administration page (or another trigger), I guess that is fine. Kjartan: my fix is the right thing to apply because theme_list() is used elsewhere where it requires to return a list of existing themes. Maybe it's a little sad but the current theme loading code might be slower and more complex than the old Drupal 3 theme loading code ... ?
Diffstat (limited to 'modules/blog/blog.module')
0 files changed, 0 insertions, 0 deletions