diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-07-20 17:51:50 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-07-20 17:58:05 +0200 |
commit | 48306a3c4f708b80143757acbe9b270be476aab4 (patch) | |
tree | 07aa5b940a9126a20892a150139dee347d4cbe75 /lib/template.php | |
parent | 0e111e1a17140a8a42a3dbf2ecce41e424b2afab (diff) | |
download | nextcloud-server-48306a3c4f708b80143757acbe9b270be476aab4.tar.gz nextcloud-server-48306a3c4f708b80143757acbe9b270be476aab4.zip |
fix unused variables
Diffstat (limited to 'lib/template.php')
-rw-r--r-- | lib/template.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/template.php b/lib/template.php index 3b48c27b9b4..5b6999af533 100644 --- a/lib/template.php +++ b/lib/template.php @@ -82,7 +82,6 @@ function relative_modified_date($timestamp) { $diffhours = round($diffminutes/60); $diffdays = round($diffhours/24); $diffmonths = round($diffdays/31); - $diffyears = round($diffdays/365); if($timediff < 60) { return $l->t('seconds ago'); } else if($timediff < 120) { return $l->t('1 minute ago'); } |