From: hickert Date: Thu, 20 Dec 2007 10:20:59 +0000 (+0000) Subject: Updated get printer functino X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=74feec3402e598ea58fc1809afeb913bd38901f6;p=gosa.git Updated get printer functino git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8156 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index a47a11f80..7d70459a5 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -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]; } diff --git a/gosa-core/plugins/gofax/faxaccount/class_gofaxAccount.inc b/gosa-core/plugins/gofax/faxaccount/class_gofaxAccount.inc index 8ec7e1979..58bd75873 100644 --- a/gosa-core/plugins/gofax/faxaccount/class_gofaxAccount.inc +++ b/gosa-core/plugins/gofax/faxaccount/class_gofaxAccount.inc @@ -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);