From: hickert Date: Mon, 22 Mar 2010 12:38:59 +0000 (+0000) Subject: Updated class user management X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=03055058de0aa81c2706195427cb93453d9731d7;p=gosa.git Updated class user management git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16993 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc index be15e04cd..6261c7060 100644 --- a/gosa-core/plugins/admin/users/class_userManagement.inc +++ b/gosa-core/plugins/admin/users/class_userManagement.inc @@ -228,11 +228,12 @@ class userManagement extends management function handlePasswordQueue() { + $smarty = get_smarty(); + // Get next entry from queue. if(empty($this->dn) && count($this->pwd_change_queue)){ $this->dn = array_pop($this->pwd_change_queue); set_object_info($this->dn); - $smarty = get_smarty(); return ($smarty->fetch(get_template_path('password.tpl', TRUE))); } @@ -253,7 +254,6 @@ class userManagement extends management // Display errors if (count($message) != 0){ msg_dialog::displayChecks($message); - $smarty = get_smarty(); return($smarty->fetch(get_template_path('password.tpl', TRUE))); }