Code

Made passwordMethod::get_available_methods() static
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Jun 2005 14:35:22 +0000 (14:35 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Jun 2005 14:35:22 +0000 (14:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@725 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_password-methods.inc

index 6dbe020daf4a35124a00e749fca7687b66aedaa2..52b862873f055ac079ad04b6119ab039eb50dbc4 100644 (file)
@@ -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;