From 892350f6b71917e5bf960d543682711c79885e94 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 11 May 2010 07:41:50 +0000 Subject: [PATCH] removed defaults from get_cfg_value and added some missing properties. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18324 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/functions.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 76dd67aa5..1e86262c1 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -308,7 +308,7 @@ function get_template_path($filename= '', $plugin= FALSE, $path= "") /* Set theme */ if (isset ($config)){ - $theme= $config->get_cfg_value("core","theme", "default"); + $theme= $config->get_cfg_value("core","theme"); } else { $theme= "default"; } @@ -3308,7 +3308,7 @@ function get_next_id($attrib, $dn) { global $config; - switch ($config->get_cfg_value("core","idAllocationMethod", "traditional")){ + switch ($config->get_cfg_value("core","idAllocationMethod")){ case "pool": return get_next_id_pool($attrib); case "traditional": @@ -3499,7 +3499,7 @@ function image($path, $action= "", $title= "", $align= "middle") // Get theme if (isset ($config)){ - $theme= $config->get_cfg_value("core","theme", "default"); + $theme= $config->get_cfg_value("core","theme"); } else { # For debuging - avoid that there's no theme set die("config not set!"); -- 2.30.2