diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-02-14 20:24:20 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-02-14 20:24:20 +1100 |
| commit | 652429a23e4cebc3561048321814618907e2c899 (patch) | |
| tree | c596ad54c5160bcf4ec6f7348f71151bdea45358 | |
| parent | b891a3f2304543093b186fb5b2a4dc7158647566 (diff) | |
removed old code that will never be executed
| -rw-r--r-- | inc/config.php | 2 | ||||
| -rw-r--r-- | 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 + )); } }; |
