From: janw Date: Wed, 15 Jun 2005 14:35:22 +0000 (+0000) Subject: Made passwordMethod::get_available_methods() static X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aa709e93604330bd9fa5544e9353dc4c6622b1d2;p=gosa.git Made passwordMethod::get_available_methods() static git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@725 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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;