remove unused variable

This commit is contained in:
Bjoern Schiessle 2013-11-22 16:10:30 +01:00
parent c309067c81
commit acf74b24f2
1 changed files with 0 additions and 2 deletions

View File

@ -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)]);