diff options
Diffstat (limited to 'admin_site_upgrade.php')
| -rw-r--r-- | admin_site_upgrade.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/admin_site_upgrade.php b/admin_site_upgrade.php index 1acde30662..29647cdd17 100644 --- a/admin_site_upgrade.php +++ b/admin_site_upgrade.php @@ -2,7 +2,7 @@ // Welcome page for the administration module // // webtrees: Web based Family History software -// Copyright (C) 2014 webtrees development team. +// Copyright (C) 2015 webtrees development team. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -19,6 +19,7 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA use WT\Auth; +use WT\Theme; define('WT_SCRIPT_NAME', 'admin_site_upgrade.php'); @@ -214,7 +215,7 @@ echo '</li>'; echo '<li>', /* I18N: The system is about to [...] */ WT_I18N::translate('Check for custom themes…'); $custom_themes = false; -foreach (get_theme_names() as $theme_name => $theme_id) { +foreach (Theme::themeNames() as $theme_id => $theme_name) { switch($theme_id) { case 'clouds': case 'colors': |
