From dd6458f7440cb93674a7348f535febaec9634dc1 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 3 May 2007 12:37:36 +0000 Subject: [PATCH] Don't reload departments everytime git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6250 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_userinfo.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_userinfo.inc b/include/class_userinfo.inc index f6665f9b6..783b66822 100644 --- a/include/class_userinfo.inc +++ b/include/class_userinfo.inc @@ -287,7 +287,7 @@ class userinfo } /* Load departments here, if we are using php4 */ - if(is_php4()){ + if(is_php4() && !count($this->config->departments)){ $this->config->get_departments(); } -- 2.30.2