spelling.php moved to horde
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 9 Jul 2009 18:57:43 +0000 (12:57 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 9 Jul 2009 18:57:43 +0000 (12:57 -0600)
imp/config/spelling.php.dist [deleted file]
imp/lib/Imple/SpellChecker.php

diff --git a/imp/config/spelling.php.dist b/imp/config/spelling.php.dist
deleted file mode 100644 (file)
index 70becd5..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-/**
- * This file defines a custom list of words that will be added to the spell
- * checker dictionary.
- *
- * $Id$
- */
-
-/* Default list (English). */
-$ignore_list = array(
-    'jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct',
-    'nov', 'dec', 'fwd', 'http', 'https', 'html', 'email', 'bcc', 'jpg', 'gif'
-);
index 7617ae4..9dc4211 100644 (file)
@@ -79,7 +79,7 @@ class IMP_Imple_SpellChecker extends IMP_Imple
 
         /* Add local dictionary words. */
         try {
-            $result = Horde::loadConfiguration('spelling.php', 'ignore_list');
+            $result = Horde::loadConfiguration('spelling.php', 'ignore_list', 'horde');
             $spellArgs['localDict'] = $result;
         } catch (Horde_Exception $e) {}