Commit eb7ee9fe6ca8f61e8197810fdaf43b0c6987f5d4
1 parent
3cb4ab38
KTS-673
"The search algorithm needs some work" Updated. Remove the mime type registration. this happens automatically when the indexer is run. Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7491 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
11 deletions
lib/upgrades/UpgradeFunctions.inc.php
| @@ -55,7 +55,7 @@ class UpgradeFunctions { | @@ -55,7 +55,7 @@ class UpgradeFunctions { | ||
| 55 | '3.0.3.7' => array('rebuildAllPermissions'), | 55 | '3.0.3.7' => array('rebuildAllPermissions'), |
| 56 | '3.1.5' => array('upgradeSavedSearches'), | 56 | '3.1.5' => array('upgradeSavedSearches'), |
| 57 | '3.1.6.3' => array('cleanupGroupMembership'), | 57 | '3.1.6.3' => array('cleanupGroupMembership'), |
| 58 | - '3.5.0' => array('cleanupOldKTAdminVersionNotifier', 'registerExtractorMapping', 'updateConfigFile35', 'registerIndexingTasks'), | 58 | + '3.5.0' => array('cleanupOldKTAdminVersionNotifier', 'updateConfigFile35', 'registerIndexingTasks'), |
| 59 | ); | 59 | ); |
| 60 | 60 | ||
| 61 | var $descriptions = array( | 61 | var $descriptions = array( |
| @@ -76,7 +76,6 @@ class UpgradeFunctions { | @@ -76,7 +76,6 @@ class UpgradeFunctions { | ||
| 76 | 'upgradeSavedSearches' => 'Upgrade saved searches to use namespaces instead of integer ids', | 76 | 'upgradeSavedSearches' => 'Upgrade saved searches to use namespaces instead of integer ids', |
| 77 | 'cleanupGroupMembership' => 'Cleanup any old references to missing groups, etc.', | 77 | 'cleanupGroupMembership' => 'Cleanup any old references to missing groups, etc.', |
| 78 | 'cleanupOldKTAdminVersionNotifier' => 'Cleanup any old files from the old KTAdminVersionNotifier', | 78 | 'cleanupOldKTAdminVersionNotifier' => 'Cleanup any old files from the old KTAdminVersionNotifier', |
| 79 | - 'registerExtractorMapping' => 'Register document text extractors with the appropriate mime types', | ||
| 80 | 'updateConfigFile35' => 'Update the config.ini file for 3.5', | 79 | 'updateConfigFile35' => 'Update the config.ini file for 3.5', |
| 81 | 'registerIndexingTasks'=>'Register the required indexing background tasks' | 80 | 'registerIndexingTasks'=>'Register the required indexing background tasks' |
| 82 | ); | 81 | ); |
| @@ -914,14 +913,6 @@ class UpgradeFunctions { | @@ -914,14 +913,6 @@ class UpgradeFunctions { | ||
| 914 | } | 913 | } |
| 915 | // }}} | 914 | // }}} |
| 916 | 915 | ||
| 917 | - // {{{ registerExtractorMapping | ||
| 918 | - function registerExtractorMapping() | ||
| 919 | - { | ||
| 920 | - $indexer = Indexer::get(); | ||
| 921 | - $indexer->registerTypes(); | ||
| 922 | - } | ||
| 923 | - // }}} | ||
| 924 | - | ||
| 925 | // {{{ updateConfigFile35 | 916 | // {{{ updateConfigFile35 |
| 926 | function updateConfigFile35() | 917 | function updateConfigFile35() |
| 927 | { | 918 | { |
| @@ -1011,7 +1002,7 @@ class UpgradeFunctions { | @@ -1011,7 +1002,7 @@ class UpgradeFunctions { | ||
| 1011 | // clientToolPolicies Section | 1002 | // clientToolPolicies Section |
| 1012 | $ini->addItem('clientToolPolicies', 'explorerMetadataCapture', 'true', "These two settings control whether or not the client is prompted for metadata when a\r\n;document is added to knowledgetree via KTtools. They default to true."); | 1003 | $ini->addItem('clientToolPolicies', 'explorerMetadataCapture', 'true', "These two settings control whether or not the client is prompted for metadata when a\r\n;document is added to knowledgetree via KTtools. They default to true."); |
| 1013 | $ini->addItem('clientToolPolicies', 'officeMetadataCapture', 'true'); | 1004 | $ini->addItem('clientToolPolicies', 'officeMetadataCapture', 'true'); |
| 1014 | - | 1005 | + |
| 1015 | // DiskUsage Section | 1006 | // DiskUsage Section |
| 1016 | $ini->addItem('DiskUsage', 'warningThreshold', '10', "When free space in a mount point is less than this percentage,\r\n; the disk usage dashlet will highlight the mount in ORANGE", "settings for the Disk Usage dashlet"); | 1007 | $ini->addItem('DiskUsage', 'warningThreshold', '10', "When free space in a mount point is less than this percentage,\r\n; the disk usage dashlet will highlight the mount in ORANGE", "settings for the Disk Usage dashlet"); |
| 1017 | $ini->addItem('DiskUsage', 'urgentThreshold', '5', "When free space in a mount point is less than this percentage,\r\n; the disk usage dashlet will highlight the mount in RED"); | 1008 | $ini->addItem('DiskUsage', 'urgentThreshold', '5', "When free space in a mount point is less than this percentage,\r\n; the disk usage dashlet will highlight the mount in RED"); |