Revision 43251923
Added by Andreas Kohlbecker over 10 years ago
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 |
} |
Also available in: Unified diff
hotfix to loosen hard dependency from devel module