Code

Updated password handling for multiple users.-
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Jul 2010 09:05:59 +0000 (09:05 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Jul 2010 09:05:59 +0000 (09:05 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18902 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/users/class_userManagement.inc

index 0eb5197f37b368e8948ae5c0aa8bb582b5324224..ed48bb24441669ab5448a09ef4c5e6ed5689d7df 100644 (file)
@@ -228,6 +228,9 @@ class userManagement extends management
 
   function handlePasswordQueue()
   {
+    // skip if nothing is to do
+    if(empty($this->dn) && !count($this->pwd_change_queue)) return;
+
     // Get next entry from queue.
     if(empty($this->dn) && count($this->pwd_change_queue)){
       $this->dn = array_pop($this->pwd_change_queue);