diff options
Diffstat (limited to 'core/Period/Factory.php')
-rw-r--r-- | core/Period/Factory.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/Period/Factory.php b/core/Period/Factory.php index abf4c9aed0..b490956531 100644 --- a/core/Period/Factory.php +++ b/core/Period/Factory.php @@ -39,7 +39,6 @@ class Factory $date = Date::factory($date); } - switch ($period) { case 'day': return new Day($date); @@ -78,7 +77,6 @@ class Factory throw new Exception($message); } - /** * Creates a Period instance using a period, date and timezone. * |