Code Duplication    Length = 3-3 lines in 2 locations

class/APCal.php 2 locations

@@ 1776-1778 (lines=3) @@
1773
                            $this->year            = date('Y', $wtop_unixtime);
1774
                            $this->month           = $wtop_month;
1775
                            @include $this->base_path . '/' . $this->plugins_path_monthly . '/' . $plugin['file'];
1776
                            for ($d = 1; $d < 21; ++$d) {
1777
                                $plugin_returns[$d] = @$plugin_returns_backup[$d];
1778
                            }
1779
                            $plugin_returns_backup = $plugin_returns;
1780
                            $this->year            = date('Y', $wlast_unixtime);
1781
                            $this->month           = $wlast_month;
@@ 1783-1785 (lines=3) @@
1780
                            $this->year            = date('Y', $wlast_unixtime);
1781
                            $this->month           = $wlast_month;
1782
                            @include $this->base_path . '/' . $this->plugins_path_monthly . '/' . $plugin['file'];
1783
                            for ($d = 8; $d < 32; ++$d) {
1784
                                $plugin_returns[$d] = @$plugin_returns_backup[$d];
1785
                            }
1786
                            $this->year  = $year_backup;
1787
                            $this->month = $month_backup;
1788
                        }