Project

General

Profile

« Previous | Next » 

Revision 5939425d

Added by Andreas Kohlbecker almost 3 years ago

ref #9599 commenting looging

View differences:

modules/cdm_dataportal/includes/name.inc
414 414
    if (isset($renderTemplate['referencePart']['reference']) && isset($taxon_name->nomenclaturalSource)) {
415 415
      $microreference = $taxon_name->nomenclaturalSource->citationMicroReference;
416 416
      if(count($nomref_tagged_text) == 0 && isset($taxon_name->nomenclaturalSource->citation)){
417
        // TODO is this case still relevant? The tagged text should already contain all information!
418
        drupal_set_message("reference/$0/nomenclaturalCitation' must no longer be used (type: "
419
          . $taxon_name_or_taxon_base->class . (isset($taxon_name_or_taxon_base->type) ? " - " +$taxon_name_or_taxon_base->type : ""  . ")"), "error");
417
        // drupal message for debugging of #9599
418
        // drupal_set_message("reference/$0/nomenclaturalCitation' must no longer be used (type: "
419
        //  . $taxon_name_or_taxon_base->class . (isset($taxon_name_or_taxon_base->type) ? " - " +$taxon_name_or_taxon_base->type : ""  . ")"), "error");
420 420
        $citation = cdm_ws_getNomenclaturalReference($taxon_name->nomenclaturalSource->citation->uuid, $microreference);
421 421
        // Find preceding element of the reference.
422 422
        $precedingKey = get_preceding_contentElementKey('reference', $renderTemplate);

Also available in: Unified diff