From aa709e93604330bd9fa5544e9353dc4c6622b1d2 Mon Sep 17 00:00:00 2001 From: janw Date: Wed, 15 Jun 2005 14:35:22 +0000 Subject: [PATCH] Made passwordMethod::get_available_methods() static git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@725 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_password-methods.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/class_password-methods.inc b/include/class_password-methods.inc index 6dbe020da..52b862873 100644 --- a/include/class_password-methods.inc +++ b/include/class_password-methods.inc @@ -63,7 +63,7 @@ class passwordMethod // this function returns all loaded classes for password encryption - function get_available_methods() + static function get_available_methods() { $ret =false; $all = get_declared_classes(); @@ -169,7 +169,7 @@ function change_password ($dn, $password, $mode=0, $hash= "") } -// Retrun something like array['sambaLMPassword']= "lalla..." +// Return something like array['sambaLMPassword']= "lalla..." function generate_smb_nt_hash($password) { global $config; -- 2.30.2