From 75e36e5f7a463e354ed6ddfd35935ee06619a59d Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 5 Nov 2009 00:37:54 -0500 Subject: [PATCH] Readd the code to add the proper class path for Content here to avoid having to load base.php, and initialize Kronolith, each and every time we send an autocomplete ajax request. --- kronolith/lib/Tagger.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kronolith/lib/Tagger.php b/kronolith/lib/Tagger.php index f45c57830..6d646ac0b 100644 --- a/kronolith/lib/Tagger.php +++ b/kronolith/lib/Tagger.php @@ -8,9 +8,12 @@ * * @package Kronolith */ + +// NOTE: Still need this here in addition to base.php to avoid having to fully +// initialize kronolith for each autocomplete ajax request. +Horde_Autoloader::addClassPattern('/^Content_/', $GLOBALS['registry']->get('fileroot', 'content') . '/lib/'); class Kronolith_Tagger { - /** * Local cache of the type name => ids from Content, so we don't have to * query for them each time. -- 2.11.0