From 3fd3b336261d6fc708e0558092e179cde8facdd4 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 22 Jul 2005 05:25:48 +0000 Subject: [PATCH] Static call replaced with non static git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@991 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_password-methods.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/class_password-methods.inc b/include/class_password-methods.inc index d633749fc..7c00dccde 100644 --- a/include/class_password-methods.inc +++ b/include/class_password-methods.inc @@ -95,7 +95,13 @@ function change_password ($dn, $password, $mode=0, $hash= "") $newpass= ""; // Get all available encryption Methods - $available = passwordMethod::get_available_methods(); + + // STATIC : :( + // $available = passwordMethod::get_available_methods(); + + // NON STATIC CALL :) + $tmp = new passwordMethod($_SESSION['config']); + $available = $tmp->get_available_methods(); // read current password entry for $dn, to detect the encryption Method $ldap = $config->get_ldap_link(); -- 2.30.2