Code

Updated get printer functino
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 Dec 2007 10:20:59 +0000 (10:20 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 Dec 2007 10:20:59 +0000 (10:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8156 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/functions.inc
gosa-core/plugins/gofax/faxaccount/class_gofaxAccount.inc

index a47a11f80291e8675b515f35bb6d4d1981a828aa..7d70459a5b5317c3eab06448c86596be2efc2342 100644 (file)
@@ -1230,11 +1230,11 @@ function to_string ($value)
 }
 
 
-function get_printer_list($cups_server)
+function get_printer_list()
 {
   global $config;
   $res = array();
-  $data = get_list('(objectClass=gotoPrinter)',"printer",$config->current['BASE'], array('cn'));
+  $data = get_list('(objectClass=gotoPrinter)',"printer",$config->current['BASE'], array('cn'), GL_SUBSEARCH);
   foreach($data as $attrs ){
     $res[$attrs['cn'][0]] = $attrs['cn'][0];
   }
index 8ec7e197957497103100cda393bb70e63434acb8..58bd758737ce25429a9f1175c32faf5d0948e015 100644 (file)
@@ -943,6 +943,12 @@ class gofaxAccount extends plugin
     return($ret);
   }
 
+  function multiple_check()
+  {
+    $message = plugin::multiple_check();
+    return($message);
+  }
+
   function set_multi_edit_values($values)
   {
     plugin::set_multi_edit_values($values);