summaryrefslogtreecommitdiffstats
path: root/apps/files/templates/part.list.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-09-12 00:39:03 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-09-12 00:39:03 +0200
commit3066b44928e43260f72fffa9193dd6b1acfb59c7 (patch)
treec5ca93e6063f2d2e78354c7a806777449b646574 /apps/files/templates/part.list.php
parentb49f43c3aeca2f437af15b7fc0ccc3d6191f6160 (diff)
downloadnextcloud-server-3066b44928e43260f72fffa9193dd6b1acfb59c7.tar.gz
nextcloud-server-3066b44928e43260f72fffa9193dd6b1acfb59c7.zip
remove unused $relativePath
Diffstat (limited to 'apps/files/templates/part.list.php')
-rw-r--r--apps/files/templates/part.list.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php
index 7d1b317e016..9e1750faddf 100644
--- a/apps/files/templates/part.list.php
+++ b/apps/files/templates/part.list.php
@@ -1,7 +1,5 @@
<input type="hidden" id="disableSharing" data-status="<?php p($_['disableSharing']); ?>">
<?php foreach($_['files'] as $file):
- //strlen('files/') => 6
- $relativePath = substr($file['path'], 6);
// the bigger the file, the darker the shade of grey; megabytes*2
$simple_size_color = intval(160-$file['size']/(1024*1024)*2);
if($simple_size_color<0) $simple_size_color = 0;