From 652429a23e4cebc3561048321814618907e2c899 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Tue, 14 Feb 2012 20:24:20 +1100 Subject: [PATCH] removed old code that will never be executed --- inc/config.php | 2 +- templates/themes/basic/theme.php | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/inc/config.php b/inc/config.php index ce7be4ad..7976634e 100644 --- a/inc/config.php +++ b/inc/config.php @@ -649,7 +649,7 @@ $config['dir']['themes'] = getcwd() . '/templates/themes'; // Same as above, but a URI (accessable by web interface, not locally) $config['dir']['themes_uri'] = 'templates/themes'; - // Homepage directory + // Homepage directory (deprecated) $config['dir']['home'] = ''; // Static images diff --git a/templates/themes/basic/theme.php b/templates/themes/basic/theme.php index 603176cb..a07dc7ec 100644 --- a/templates/themes/basic/theme.php +++ b/templates/themes/basic/theme.php @@ -29,13 +29,11 @@ $news = $query->fetchAll(PDO::FETCH_ASSOC); return Element('themes/basic/index.html', Array( - 'settings' => $settings, - 'config' => $config, - 'boardlist' => createBoardlist(), - 'news' => $news - )); - - return $body; + 'settings' => $settings, + 'config' => $config, + 'boardlist' => createBoardlist(), + 'news' => $news + )); } };