forked from extern/egroupware
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:
parent
e3ad932afa
commit
459e6be4d2
@ -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
|
||||
|
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user