[Pkg-owncloud-commits] [owncloud] 72/239: remove unused variable

David Prévot taffit at moszumanska.debian.org
Fri Nov 29 01:32:21 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit acf74b24f24e1c2ea9e454a1c09f6bcf404f6627
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date:   Fri Nov 22 16:10:30 2013 +0100

    remove unused variable
---
 apps/files_versions/lib/versions.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php
index 67935fb..b03e1d4 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)]);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list