summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-11-06 09:43:45 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-11-06 09:43:45 +0100
commit5445b1ff172d5186530ab0352ac35cb028127312 (patch)
tree86ef75039910b1f08eef7287ac4303871c852cbc /apps/files/lib
parent576d31d48d1e368c0ca54a95f28dc3bc0e553d83 (diff)
downloadnextcloud-server-5445b1ff172d5186530ab0352ac35cb028127312.tar.gz
nextcloud-server-5445b1ff172d5186530ab0352ac35cb028127312.zip
Remove unused variables
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files/lib')
-rw-r--r--apps/files/lib/Command/Scan.php2
-rw-r--r--apps/files/lib/Command/ScanAppData.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/lib/Command/Scan.php b/apps/files/lib/Command/Scan.php
index d81beb0eaf3..4026af2db79 100644
--- a/apps/files/lib/Command/Scan.php
+++ b/apps/files/lib/Command/Scan.php
@@ -322,7 +322,7 @@ class Scan extends Base {
* @return string
*/
protected function formatExecTime() {
- list($secs, $tens) = explode('.', sprintf("%.1f", ($this->execTime)));
+ list($secs, ) = explode('.', sprintf("%.1f", ($this->execTime)));
# if you want to have microseconds add this: . '.' . $tens;
return date('H:i:s', $secs);
diff --git a/apps/files/lib/Command/ScanAppData.php b/apps/files/lib/Command/ScanAppData.php
index 7212717ee40..afcdf999d22 100644
--- a/apps/files/lib/Command/ScanAppData.php
+++ b/apps/files/lib/Command/ScanAppData.php
@@ -240,7 +240,7 @@ class ScanAppData extends Base {
* @return string
*/
protected function formatExecTime() {
- list($secs, $tens) = explode('.', sprintf("%.1f", ($this->execTime)));
+ list($secs, ) = explode('.', sprintf("%.1f", ($this->execTime)));
# if you want to have microseconds add this: . '.' . $tens;
return date('H:i:s', $secs);