From: Jan Schneider Date: Fri, 4 Dec 2009 17:51:41 +0000 (+0100) Subject: Again fix left-overs from refactoring. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=daa27b6c5976a43929b86165049d92fe8003316a;p=horde.git Again fix left-overs from refactoring. --- diff --git a/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml.php b/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml.php index 760cbcef5..bae9f950b 100644 --- a/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml.php +++ b/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml.php @@ -1007,11 +1007,10 @@ class Horde_Kolab_Format_Xml } // Create horde category if needed - @include_once 'Horde/Prefs/CategoryManager.php'; - if ($this->_create_categories - && class_exists('Prefs_CategoryManager') - && isset($prefs) && $prefs instanceOf Prefs) { - $cManager = new Prefs_CategoryManager(); + if ($this->_create_categories && + class_exists('Horde_Prefs_CategoryManager') && + isset($prefs) && $prefs instanceof Horde_Prefs) { + $cManager = new Horde_Prefs_CategoryManager(); $horde_categories = $cManager->get(); } else { $cManager = null;