From: Vincent Petry Date: Fri, 4 Oct 2013 12:45:12 +0000 (+0200) Subject: Removed $fromTime argument from public template API X-Git-Tag: v6.0.0alpha2~97^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f3594904c2d2b4a1296ee7dcc65a0c6cefa9ab40;p=nextcloud-server.git Removed $fromTime argument from public template API --- diff --git a/lib/public/template.php b/lib/public/template.php index 8800f5c856e..a5c500b0e25 100644 --- a/lib/public/template.php +++ b/lib/public/template.php @@ -90,8 +90,8 @@ function human_file_size( $bytes ) { * @param $timestamp unix timestamp * @returns human readable interpretation of the timestamp */ -function relative_modified_date($timestamp, $fromTime = null, $dateOnly = false) { - return(\relative_modified_date($timestamp, $fromTime, $dateOnly)); +function relative_modified_date($timestamp, $dateOnly = false) { + return(\relative_modified_date($timestamp, null, $dateOnly)); }