From: hickert Date: Tue, 9 Aug 2005 06:09:19 +0000 (+0000) Subject: removed not needed attributes. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a137239cc264b755590bdeb354081fe44190c2f2;p=gosa.git removed not needed attributes. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1082 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/ogroups/class_phonequeue.inc b/plugins/admin/ogroups/class_phonequeue.inc index 78950fd28..920b96d05 100644 --- a/plugins/admin/ogroups/class_phonequeue.inc +++ b/plugins/admin/ogroups/class_phonequeue.inc @@ -518,11 +518,16 @@ class phonequeue extends plugin return( sprintf(_("Can't select database %s on %s."),$a_SETUP['DB'],$a_SETUP['SERVER'])); } - + $tmp = array_flip($this->attributes); foreach(array("goFonDialOption_t","goFonDialOption_T","goFonDialOption_h","goFonDialOption_H") as $val){ unset($this->$val); unset($this->attrs[$val]); - } + unset($tmp[$val]); + } + foreach(array_flip($tmp) as $key => $val){ + $tmp2[]=$val; + } + $this->attributes = $tmp2; $i = 0; $prio = 11;