]> source.dussan.org Git - nextcloud-server.git/commitdiff
Removed $fromTime argument from public template API
authorVincent Petry <pvince81@owncloud.com>
Fri, 4 Oct 2013 12:45:12 +0000 (14:45 +0200)
committerVincent Petry <pvince81@owncloud.com>
Fri, 4 Oct 2013 12:45:12 +0000 (14:45 +0200)
lib/public/template.php

index 8800f5c856ec01fa29951de8ad7e7c1e44c0c6fa..a5c500b0e25a90b09270394017b74162d73c699c 100644 (file)
@@ -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));
 }