Code Duplication    Length = 6-6 lines in 2 locations

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

@@ 358-363 (lines=6) @@
355
        $this->propdelix[$propName] = --$propix;
356
        $return = FALSE;
357
        switch( $propName ) {
358
            case 'CALSCALE':
359
                if( isset( $this->calscale )) {
360
                    $this->calscale = null;
361
                    $return = TRUE;
362
                }
363
                break;
364
            case 'METHOD':
365
                if( isset( $this->method )) {
366
                    $this->method   = null;
@@ 364-369 (lines=6) @@
361
                    $return = TRUE;
362
                }
363
                break;
364
            case 'METHOD':
365
                if( isset( $this->method )) {
366
                    $this->method   = null;
367
                    $return = TRUE;
368
                }
369
                break;
370
            default:
371
                $reduced = array();
372
                if( $propName != 'X-PROP' ) {