summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-11-22 16:10:30 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2013-11-22 16:10:30 +0100
commitacf74b24f24e1c2ea9e454a1c09f6bcf404f6627 (patch)
tree7bfc005a5db887bf53073d2822275893f192a9c5 /apps/files_versions/lib
parentc309067c8199312de8ceb7c2eec6925bc8e34232 (diff)
downloadnextcloud-server-acf74b24f24e1c2ea9e454a1c09f6bcf404f6627.tar.gz
nextcloud-server-acf74b24f24e1c2ea9e454a1c09f6bcf404f6627.zip
remove unused variable
Diffstat (limited to 'apps/files_versions/lib')
-rw-r--r--apps/files_versions/lib/versions.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php
index 67935fbacb5..b03e1d4e93a 100644
--- a/apps/files_versions/lib/versions.php
+++ b/apps/files_versions/lib/versions.php
@@ -328,10 +328,8 @@ class Storage {
while (!empty($dirContent)) {
$path = reset($dirContent);
if ($path['type'] === 'dir') {
- $intPath = substr($path['path'], strlen('files_versions'));
$dirContent = array_merge($dirContent, $view->getDirectoryContent(substr($path['path'], strlen('files_versions'))));
} else {
- $intPath = substr($path['path'], strlen('files_versions'));
$size += $view->filesize(substr($path['path'], strlen('files_versions')));
}
unset($dirContent[key($dirContent)]);