]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove unused $relativePath
authorThomas Müller <thomas.mueller@tmit.eu>
Wed, 11 Sep 2013 22:39:03 +0000 (00:39 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Wed, 11 Sep 2013 22:39:03 +0000 (00:39 +0200)
apps/files/templates/part.list.php

index 7d1b317e01692d780885aece04caec340be11985..9e1750faddfbeedf44a0e1af3a08e767359040e5 100644 (file)
@@ -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;