Commit faba1322e6c7782567bb4fc860953423adf3fe01

Authored by Megan Watson
1 parent efb44470

Removed duplicate wintools code.

Committed by: Megan Watson
plugins/ktcore/KTCorePlugin.php
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 * KnowledgeTree Community Edition 5 * KnowledgeTree Community Edition
6 * Document Management Made Simple 6 * Document Management Made Simple
7 * Copyright (C) 2008, 2009, 2010 KnowledgeTree Inc. 7 * Copyright (C) 2008, 2009, 2010 KnowledgeTree Inc.
8 - * 8 + *
9 * 9 *
10 * This program is free software; you can redistribute it and/or modify it under 10 * This program is free software; you can redistribute it and/or modify it under
11 * the terms of the GNU General Public License version 3 as published by the 11 * the terms of the GNU General Public License version 3 as published by the
@@ -175,7 +175,7 @@ class KTCorePlugin extends KTPlugin { @@ -175,7 +175,7 @@ class KTCorePlugin extends KTPlugin {
175 175
176 // Bulk Download Trigger 176 // Bulk Download Trigger
177 $this->registerTrigger('ktcore', 'pageLoad', 'BulkDownloadTrigger', 'ktcore.triggers.pageload', 'KTDownloadTriggers.inc.php'); 177 $this->registerTrigger('ktcore', 'pageLoad', 'BulkDownloadTrigger', 'ktcore.triggers.pageload', 'KTDownloadTriggers.inc.php');
178 - 178 +
179 // widgets 179 // widgets
180 $this->registerWidget('KTCoreInfoWidget', 'ktcore.widgets.info', 'KTWidgets.php'); 180 $this->registerWidget('KTCoreInfoWidget', 'ktcore.widgets.info', 'KTWidgets.php');
181 $this->registerWidget('KTCoreHiddenWidget', 'ktcore.widgets.hidden', 'KTWidgets.php'); 181 $this->registerWidget('KTCoreHiddenWidget', 'ktcore.widgets.hidden', 'KTWidgets.php');
@@ -290,13 +290,6 @@ class KTCorePlugin extends KTPlugin { @@ -290,13 +290,6 @@ class KTCorePlugin extends KTPlugin {
290 _kt('Document Fieldsets'), 290 _kt('Document Fieldsets'),
291 _kt('Manage the different types of information that can be associated with classes of documents.'), 291 _kt('Manage the different types of information that can be associated with classes of documents.'),
292 'admin/documentFieldsv2.php', null); 292 'admin/documentFieldsv2.php', null);
293 - if(KTPluginUtil::pluginIsActive('ktdms.wintools'))  
294 - {  
295 - $this->registerAdminPage('emailtypemanagement', 'KTEmailDocumentTypeDispatcher', 'documents',  
296 - _kt('Email Document Types'),  
297 - _kt('Manage the addition of Email document types to the system.'),  
298 - '../wintools/email/emailDocumentTypes.php', null);  
299 - }  
300 $this->registerAdminPage('workflows_2', 'KTWorkflowAdminV2', 'documents', 293 $this->registerAdminPage('workflows_2', 'KTWorkflowAdminV2', 'documents',
301 _kt('Workflows'), _kt('Configure automated Workflows that map to document life-cycles.'), 294 _kt('Workflows'), _kt('Configure automated Workflows that map to document life-cycles.'),
302 'admin/workflowsv2.php', null); 295 'admin/workflowsv2.php', null);