From 155c36e18f1a94ddd10d35dc13a233faa3944da1 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 5 May 2010 10:04:27 +0000 Subject: [PATCH] Added property class to get_cfg_requests git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18124 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/users/class_userManagement.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc index 217e391d3..9665ff458 100644 --- a/gosa-core/plugins/admin/users/class_userManagement.inc +++ b/gosa-core/plugins/admin/users/class_userManagement.inc @@ -69,7 +69,7 @@ class userManagement extends management if ($this->config->boolValueIsTrue("main", "copyPaste")){ $this->cpHandler = new CopyPasteHandler($this->config); } - if($this->config->get_cfg_value("enableSnapshots") == "true"){ + if($this->config->get_cfg_value("core","enableSnapshots") == "true"){ $this->snapHandler = new SnapshotHandler($this->config); } @@ -267,8 +267,8 @@ class userManagement extends management return($smarty->fetch(get_template_path('password.tpl', TRUE))); } } - if ($this->config->get_cfg_value("passwordHook") != ""){ - exec($this->config->get_cfg_value("passwordHook")." ".$username." ".$_POST['new_password'], $resarr); + if ($this->config->get_cfg_value("core","passwordHook") != ""){ + exec($this->config->get_cfg_value("core","passwordHook")." ".$username." ".$_POST['new_password'], $resarr); } new log("modify","users/".get_class($this),$this->dn,array(),"Password has been changed"); $this->dn =""; @@ -472,8 +472,8 @@ class userManagement extends management // Preset uid field by using the idGenerator $attributes= array('sn' => $this->sn, 'givenName' => $this->givenName); - if ($this->config->get_cfg_value("idGenerator") != ""){ - $uids= gen_uids ($this->config->get_cfg_value("idGenerator"), $attributes); + if ($this->config->get_cfg_value("core","idGenerator") != ""){ + $uids= gen_uids ($this->config->get_cfg_value("core","idGenerator"), $attributes); if (count($uids)){ $smarty->assign("edit_uid", "false"); $smarty->assign("uids", $uids); -- 2.30.2