Code Duplication    Length = 4-4 lines in 2 locations

main/inc/lib/icalcreator/iCalcreator.class.php 2 locations

@@ 5060-5063 (lines=4) @@
5057
                $updateOK = $this->_recurBYcntcheck( $recur['BYMONTH']
5058
                    , $wdate['month']
5059
                    ,($wdate['month'] - 13));
5060
            if( $updateOK && isset( $recur['BYWEEKNO'] ))
5061
                $updateOK = $this->_recurBYcntcheck( $recur['BYWEEKNO']
5062
                    , $daycnts[$wdate['month']][$wdate['day']]['weekno_up']
5063
                    , $daycnts[$wdate['month']][$wdate['day']]['weekno_down'] );
5064
            if( $updateOK && isset( $recur['BYYEARDAY'] ))
5065
                $updateOK = $this->_recurBYcntcheck( $recur['BYYEARDAY']
5066
                    , $daycnts[$wdate['month']][$wdate['day']]['yearcnt_up']
@@ 5064-5067 (lines=4) @@
5061
                $updateOK = $this->_recurBYcntcheck( $recur['BYWEEKNO']
5062
                    , $daycnts[$wdate['month']][$wdate['day']]['weekno_up']
5063
                    , $daycnts[$wdate['month']][$wdate['day']]['weekno_down'] );
5064
            if( $updateOK && isset( $recur['BYYEARDAY'] ))
5065
                $updateOK = $this->_recurBYcntcheck( $recur['BYYEARDAY']
5066
                    , $daycnts[$wdate['month']][$wdate['day']]['yearcnt_up']
5067
                    , $daycnts[$wdate['month']][$wdate['day']]['yearcnt_down'] );
5068
            if( $updateOK && isset( $recur['BYMONTHDAY'] ))
5069
                $updateOK = $this->_recurBYcntcheck( $recur['BYMONTHDAY']
5070
                    , $wdate['day']