From: hickert Date: Wed, 23 Jul 2008 12:26:32 +0000 (+0000) Subject: removed unused code X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=262476fc97039397b9ca29cab6a0c2dbab0f93c9;p=gosa.git removed unused code git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11838 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_divListSystem.inc b/gosa-plugins/systems/admin/systems/class_divListSystem.inc index 4c5eb25af..feb9e8228 100644 --- a/gosa-plugins/systems/admin/systems/class_divListSystem.inc +++ b/gosa-plugins/systems/admin/systems/class_divListSystem.inc @@ -240,17 +240,6 @@ class divListSystem extends MultiSelectWindow function setEntries($terminals) { - $img1 = "C"; - $img2 = "L"; - $img3 = "L"; - $img4 = "M"; - $img5 = "I"; - $img6 = "F"; - $img7 = "K"; - $img8 = "A"; - $img9 = "F"; - $img10 = "L"; - $empty =""; /* Dynamic action col, depending on snapshot icons */ @@ -343,22 +332,6 @@ class divListSystem extends MultiSelectWindow $action.= $empty; } - - /* Generate picture list, which is currently disabled */ - if(in_array("goCupsServer" ,$val['objectClass'])) $cups = $img1; else $cups =$empty; - if(in_array("goLogDBServer" ,$val['objectClass'])) $logdb = $img2; else $logdb =$empty; - if(in_array("goSyslogServer" ,$val['objectClass'])) $syslog = $img3; else $syslog=$empty; - if(in_array("goImapServer" ,$val['objectClass'])) $imap = $img4; else $imap =$empty; - if(in_array("sambaSamAccount" ,$val['objectClass'])) $samba = $img5; else $samba =$empty; - if(in_array("goShareServer" ,$val['objectClass'])) $nfs = $img6; else $nfs =$empty; - if(in_array("goKrbServer" ,$val['objectClass'])) $krb = $img7; else $krb =$empty; - if(in_array("goFonServer" ,$val['objectClass'])) $fon = $img8; else $fon =$empty; - if(in_array("goFaxServer" ,$val['objectClass'])) $fax = $img9; else $fax =$empty; - if(in_array("goLdapServer" ,$val['objectClass'])) $ldap = $img10; else $ldap =$empty; - - $pics = $cups.$logdb.$syslog.$imap.$samba.$nfs.$krb.$fon.$fax.$ldap; - $pics = ""; // Pictures currently hidden - $val['cn'][0]= preg_replace('/\$$/', '', $val['cn'][0]); // Generate Array to Add