From: Matthias Schmidt Date: Tue, 9 Oct 2012 17:20:12 +0000 (+0200) Subject: Removes obsolete method X-Git-Tag: 2.0.0_Beta_1~907^2^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ed94f7d974b64145ceda13340c951c3f449b4847;p=GitHub%2FWoltLab%2FWCF.git Removes obsolete method --- 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() { } }