From 426dc40713fdf0dbdde82f17ff2a87d061b227b7 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 7 Aug 2007 10:28:04 +0000 Subject: [PATCH] Removed old language handling from config object and config file git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6984 594d385d-05f5-0310-b6e9-bd551577e9d8 --- contrib/gosa.conf | 10 ---------- include/class_config.inc | 11 +---------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/contrib/gosa.conf b/contrib/gosa.conf index 3998b2c6d..e46fa2337 100644 --- a/contrib/gosa.conf +++ b/contrib/gosa.conf @@ -495,16 +495,6 @@ password="{$cv.password}" /> - - - - - - - - - - diff --git a/include/class_config.inc b/include/class_config.inc index 80d010573..a60ae8e24 100644 --- a/include/class_config.inc +++ b/include/class_config.inc @@ -38,7 +38,7 @@ class config { /* Configuration data */ var $data= array( 'TABS' => array(), 'LOCATIONS' => array(), 'SERVERS' => array(), - 'MAIN' => array( 'LANGUAGES' => array(), 'FAXFORMATS' => array() ), + 'MAIN' => array( 'FAXFORMATS' => array() ), 'MENU' => array(), 'SERVICE' => array()); var $basedir= ""; @@ -143,15 +143,6 @@ class config { } break; - /* Handle language */ - case 'LANGUAGE': - if ($this->tags[$this->level-2] == 'MAIN'){ - /* Add languages */ - $this->data['MAIN']['LANGUAGES'][$attrs['NAME']]= - $attrs['TAG']; - } - break; - /* Handle faxformat */ case 'FAXFORMAT': if ($this->tags[$this->level-2] == 'MAIN'){ -- 2.30.2