From 67f6e5cf3fb83f779420c6b9a1451b9f7b6b7c65 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 30 Nov 2006 05:57:20 +0000 Subject: [PATCH] Removed unused get_printer_list call git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5254 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/posix/class_posixAccount.inc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc index bbbcee0f3..589da2198 100644 --- a/plugins/personal/posix/class_posixAccount.inc +++ b/plugins/personal/posix/class_posixAccount.inc @@ -52,7 +52,6 @@ class posixAccount extends plugin var $use_shadowExpire= "0"; var $mustchangepassword= "0"; var $force_ids= 0; - var $printerList= array(); var $group_dialog= FALSE; var $show_ws_dialog= FALSE; var $secondaryGroups= array(); @@ -197,12 +196,6 @@ class posixAccount extends plugin $this->loginShellList[]= $this->loginShell; } - /* Generate printer list */ - if (isset($this->config->data['SERVERS']['CUPS'])){ - $this->printerList= get_printer_list ($this->config->data['SERVERS']['CUPS']); - asort($this->printerList); - } - /* Generate group list */ $this->ui = get_userinfo(); $this->secondaryGroups[]= "- "._("automatic")." -"; @@ -514,7 +507,6 @@ class posixAccount extends plugin } else { $smarty->assign("groups", ""); } - $smarty->assign("printerList", $this->printerList); $smarty->assign("languages", $this->config->data['MAIN']['LANGUAGES']); /* Avoid "Undefined index: forceMode" */ -- 2.30.2