Comment out cache call until I get it worked out

This commit is contained in:
Nathan Gray 2010-03-31 15:07:47 +00:00
parent e66b0d5373
commit aa8ec8856e

View File

@ -279,6 +279,7 @@ class importexport_helper_functions {
* @return array(<appname> => array( <type> => array(<plugin> => <title>))) * @return array(<appname> => array( <type> => array(<plugin> => <title>)))
*/ */
public static function get_plugins( $_appname = 'all', $_type = 'all' ) { public static function get_plugins( $_appname = 'all', $_type = 'all' ) {
/*
$plugins = egw_cache::getTree( $plugins = egw_cache::getTree(
__CLASS__, __CLASS__,
'plugins', 'plugins',
@ -286,6 +287,8 @@ class importexport_helper_functions {
array(array_keys($GLOBALS['egw_info']['apps']), array('import', 'export')), array(array_keys($GLOBALS['egw_info']['apps']), array('import', 'export')),
self::CACHE_EXPIRATION self::CACHE_EXPIRATION
); );
*/
$plugins = self::_get_plugins(array_keys($GLOBALS['egw_info']['apps']), array('import', 'export'));
$appnames = $_appname == 'all' ? array_keys($GLOBALS['egw_info']['apps']) : (array)$_appname; $appnames = $_appname == 'all' ? array_keys($GLOBALS['egw_info']['apps']) : (array)$_appname;
$types = $_type == 'all' ? array('import','export') : (array)$_type; $types = $_type == 'all' ? array('import','export') : (array)$_type;