From 74feec3402e598ea58fc1809afeb913bd38901f6 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 20 Dec 2007 10:20:59 +0000 Subject: [PATCH] Updated get printer functino git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8156 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/functions.inc | 4 ++-- gosa-core/plugins/gofax/faxaccount/class_gofaxAccount.inc | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) 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); -- 2.30.2