Changeset 11908

Show
Ignore:
Timestamp:
08/30/07 19:33:47 (1 year ago)
Author:
bergie
Message:

Remove unnecessary logging, refs #102

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.helper.datamanager2/datamanager.php

    r11584 r11908  
    113113            debug_push_class(__CLASS__, __FUNCTION__); 
    114114            debug_add("The active schema database is invalid.", MIDCOM_LOG_ERROR); 
    115             debug_print_r('Schema database in use:', $this->_schemadb); 
    116115            debug_pop(); 
    117116            return false; 
     
    122121            debug_push_class(__CLASS__, __FUNCTION__); 
    123122            debug_add("The schema {$name} was not found in the active schema database.", MIDCOM_LOG_INFO); 
    124             debug_print_r('Schema database in use:', $this->_schemadb); 
    125123            debug_pop(); 
    126124            return false; 
  • trunk/midcom/midcom.helper.datamanager2/renderer/simple.php

    r5286 r11908  
    305305    function _prepareTemplate($name, $label, $required, $error, $type = false) 
    306306    { 
    307         debug_add("_prepareTemplate called with options: {$name}, {$label}, {$required}, {$error}, $type"); 
    308307        if (is_array($label)) { 
    309308            $nameLabel = array_shift($label); 
     
    313312         
    314313        if (isset($this->_templates[$name])) { 
    315             debug_add("_prepareTemplate _templates[{$name}] check caught, using template\n===\n{$this->_templates[$name]}\n===\n"); 
    316314            $html = str_replace('{label}', $nameLabel, $this->_templates[$name]); 
    317315        } else if ($this->_inGroup) { 
    318316            /* rambo: I'm pretty sure this is never reached... */ 
    319             debug_add("_prepareTemplate ingroup check caught, using template\n===\n{$this->_defaultGroupTemplate}\n===\n"); 
    320317            $html = str_replace('{label}', $nameLabel, $this->_defaultGroupTemplate); 
    321318        } else { 
    322             debug_add("_prepareTemplate else caught, switching by type: {$type}"); 
    323319            switch ($type) 
    324320            { 
     
    330326                    break; 
    331327            } 
    332             debug_add("_prepareTemplate using template\n===\n{$template}\n===\n"); 
    333328            $html = str_replace('{label}', $nameLabel, $template); 
    334329        } 
     
    380375    function renderElement(&$element, $required, $error) 
    381376    { 
    382         debug_print_r('renderElement got element: ', $element); 
    383377        if (!$this->_inGroup) { 
    384378            $html = $this->_prepareTemplate($element->getName(), $element->getLabel(), $required, $error, $element->getType());