From: hickert Date: Fri, 22 Jul 2005 05:25:48 +0000 (+0000) Subject: Static call replaced with non static X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3fd3b336261d6fc708e0558092e179cde8facdd4;p=gosa.git Static call replaced with non static git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@991 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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();