Removed $fromTime argument from public template API

remotes/origin/stable6
Vincent Petry 11 years ago
parent 006799616d
commit f3594904c2
  1. 4
      lib/public/template.php

@ -90,8 +90,8 @@ function human_file_size( $bytes ) {
* @param $timestamp unix timestamp * @param $timestamp unix timestamp
* @returns human readable interpretation of the timestamp * @returns human readable interpretation of the timestamp
*/ */
function relative_modified_date($timestamp, $fromTime = null, $dateOnly = false) { function relative_modified_date($timestamp, $dateOnly = false) {
return(\relative_modified_date($timestamp, $fromTime, $dateOnly)); return(\relative_modified_date($timestamp, null, $dateOnly));
} }

Loading…
Cancel
Save