Code Duplication    Length = 5-5 lines in 2 locations

main/inc/lib/pear/PEAR.php 2 locations

@@ 687-691 (lines=5) @@
684
        }
685
        $stack[] = array($def_mode, $def_options);
686
687
        if (isset($this) && is_a($this, 'PEAR')) {
688
            $this->setErrorHandling($mode, $options);
689
        } else {
690
            PEAR::setErrorHandling($mode, $options);
691
        }
692
        $stack[] = array($mode, $options);
693
        return true;
694
    }
@@ 712-716 (lines=5) @@
709
        array_pop($stack);
710
        list($mode, $options) = $stack[sizeof($stack) - 1];
711
        array_pop($stack);
712
        if (isset($this) && is_a($this, 'PEAR')) {
713
            $this->setErrorHandling($mode, $options);
714
        } else {
715
            PEAR::setErrorHandling($mode, $options);
716
        }
717
        return true;
718
    }
719