Code

Removed unused get_printer_list call
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Nov 2006 05:57:20 +0000 (05:57 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Nov 2006 05:57:20 +0000 (05:57 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5254 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/posix/class_posixAccount.inc

index bbbcee0f3b5a9d0ffd460a6ae59813f38f19888b..589da2198b61001da6d64b07c3a5022495e83cd7 100644 (file)
@@ -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" */