summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2017-11-07 16:18:40 +0100
committerGitHub <noreply@github.com>2017-11-07 16:18:40 +0100
commitf55732a18facfe52167e346a8aa40cfc66707fa0 (patch)
tree50d8e2fc1d9b222d55d88d4aa7bc76ba971fe50c /apps/files/lib
parent8566f8b8ee421ae1549e988c92c494deaf2829c2 (diff)
parent5445b1ff172d5186530ab0352ac35cb028127312 (diff)
downloadnextcloud-server-f55732a18facfe52167e346a8aa40cfc66707fa0.tar.gz
nextcloud-server-f55732a18facfe52167e346a8aa40cfc66707fa0.zip
Merge pull request #7075 from nextcloud/remove-unused-variables
Remove unused variables
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 841b36fa110..f347cb868b1 100644
--- a/apps/files/lib/Command/ScanAppData.php
+++ b/apps/files/lib/Command/ScanAppData.php
@@ -260,7 +260,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);