Code

Replaced config->search with get_cfg_value
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 12:17:41 +0000 (12:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 12:17:41 +0000 (12:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18219 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/functions.inc

index 76d422f3e8741e7e225f19528338b601200bf527..e7637663a920f936934e2ef2f586673fb0eddfd5 100644 (file)
@@ -3011,7 +3011,7 @@ function change_password ($dn, $password, $mode=0, $hash= "")
       }
 
       /* Find postmodify entries for this class */
-      $command= $config->search("password", "POSTMODIFY",array('menu'));
+      $command= $config->get_cfg_value("password","postmodify");
 
       if ($command != ""){
         /* Walk through attribute list */