Author: jablko
Date: Thu Sep 17 19:36:25 2009
New Revision: 3400
Log:
Avoid fatal error loading Zend classes, fixes issue 940
Modified:
trunk/apps/qubit/lib/SearchIndex.class.php
Modified: trunk/apps/qubit/lib/SearchIndex.class.php
==============================================================================
--- trunk/apps/qubit/lib/SearchIndex.class.php Thu Sep 17 18:53:42 2009
(r3399)
+++ trunk/apps/qubit/lib/SearchIndex.class.php Thu Sep 17 19:36:25 2009
(r3400)
@@ -162,6 +162,7 @@
*/
public static function deleteTranslatedLanguages($object)
{
+ xfLuceneZendManager::load();
Zend_Search_Lucene_Analysis_Analyzer::setDefault(self::getIndexAnalyzer());
foreach (self::getEnabledI18nLanguages() as $code => $language)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---