summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-10-04 14:45:12 +0200
committerVincent Petry <pvince81@owncloud.com>2013-10-04 14:45:12 +0200
commitf3594904c2d2b4a1296ee7dcc65a0c6cefa9ab40 (patch)
treefe0e7d8319bc6c0362d76df978dc972dab7173d8 /lib
parent006799616d584fc3f83e325910368a8af0aee072 (diff)
downloadnextcloud-server-f3594904c2d2b4a1296ee7dcc65a0c6cefa9ab40.tar.gz
nextcloud-server-f3594904c2d2b4a1296ee7dcc65a0c6cefa9ab40.zip
Removed $fromTime argument from public template API
Diffstat (limited to 'lib')
-rw-r--r--lib/public/template.php4
1 files changed, 2 insertions, 2 deletions
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));
}