Project

General

Profile

« Previous | Next » 

Revision 43251923

Added by Andreas Kohlbecker over 10 years ago

hotfix to loosen hard dependency from devel module

View differences:

7.x/modules/cdm_dataportal/cdm_api/cdm_api.module
2285 2285
 *
2286 2286
 */
2287 2287
function cdm_dd($data, $label = NULL) {
2288
  if(variable_get('cdm_debug_mode', FALSE) && file_stream_wrapper_get_class('temporary') ){
2288
  if(module_exists('devel') && variable_get('cdm_debug_mode', FALSE) && file_stream_wrapper_get_class('temporary') ){
2289 2289
    return dd($data, $label);
2290 2290
  }
2291 2291
}
7.x/modules/cdm_dataportal/cdm_taxontree/cdm_taxontree.module
763 763

  
764 764

  
765 765
/**
766
 * Alter a reultset into an array of TreeNode instances with taxonUuid as keys.
766
 * Alter a resultset into an array of TreeNode instances with taxonUuid as keys.
767 767
 *
768 768
 * Replaces the keys of an array of TreeNode instances
769 769
 * by the $treenode->taxonUuid of the single array elements and sets

Also available in: Unified diff