From ed94f7d974b64145ceda13340c951c3f449b4847 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 9 Oct 2012 19:20:12 +0200 Subject: [PATCH] Removes obsolete method --- wcfsetup/install/files/lib/util/DateUtil.class.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/wcfsetup/install/files/lib/util/DateUtil.class.php b/wcfsetup/install/files/lib/util/DateUtil.class.php index 9d65da88c9..b4d155d45d 100644 --- a/wcfsetup/install/files/lib/util/DateUtil.class.php +++ b/wcfsetup/install/files/lib/util/DateUtil.class.php @@ -365,12 +365,5 @@ final class DateUtil { } } - public static function diff(\DateTime $from, \DateTime $to) { - $interval = $from->diff($to); - - // TODO: Use language items - return $interval->format('%Y years %M months %D days %H hours %I minutes %S seconds'); - } - private function __construct() { } } -- 2.20.1