From 6e2adbe6bf6dbdd6a5232020d857a9287bc5d332 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 1 Jul 2010 09:05:59 +0000 Subject: [PATCH] Updated password handling for multiple users.- 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc index 0eb5197f3..ed48bb244 100644 --- a/gosa-core/plugins/admin/users/class_userManagement.inc +++ b/gosa-core/plugins/admin/users/class_userManagement.inc @@ -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); -- 2.30.2