Blacklist calendar CSV import because it doesn't work the same as the others, and you should use iCal. If someone needs it, they can put it back in.

This commit is contained in:
Nathan Gray 2011-04-11 15:21:10 +00:00
parent e3ad932afa
commit 459e6be4d2
2 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,9 @@
/**
* eGroupWare
*
* This plugin is blacklisted in importexport_helper_functions. You should use iCal,
* but if you need to import CSV, you can remove the blacklist.
*
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @package calendar
* @subpackage importexport

View File

@ -29,6 +29,9 @@ class importexport_helper_functions {
'news_admin' => array(
'class.news_admin_import.inc.php',
),
'calendar' => array(
'class.calendar_import_csv.inc.php'
),
);
/**
@ -460,6 +463,9 @@ class importexport_helper_functions {
$appnames = $_appname == 'all' ? array_keys($GLOBALS['egw_info']['apps']) : (array)$_appname;
$types = $_type == 'all' ? array('import','export') : (array)$_type;
// Testing: Comment out cache call above, use this
//$definitions = self::_has_definitions($appnames, $types);
foreach($definitions as $appname => $_types) {
if(!in_array($appname, $appnames)) unset($definitions[$appname]);
}