Readd the code to add the proper class path for Content here to
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 5 Nov 2009 05:37:54 +0000 (00:37 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 5 Nov 2009 05:39:19 +0000 (00:39 -0500)
avoid having to load base.php, and initialize Kronolith, each and
every time we send an autocomplete ajax request.

kronolith/lib/Tagger.php

index f45c578..6d646ac 100644 (file)
@@ -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.