diff --git a/core/util.inc.php b/core/util.inc.php index a62609f8..e1a6fd9c 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -179,8 +179,6 @@ function _count_execs($db, $sql, $inputarray) { } function get_theme_object($file, $class) { - global $config; - $theme = $config->get_string("theme", "default"); if(class_exists("Custom$class")) { $class = "Custom$class"; return new $class();