[Pkg-owncloud-commits] [owncloud] 17/73: Also check some other files

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:08:59 UTC 2013


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

taffit pushed a commit to annotated tag v4.0.10
in repository owncloud.

commit 4fd069b47906ebcf83887970c732d464dbe7d37a
Author: Lukas Reschke <lukas at statuscode.ch>
Date:   Mon Aug 13 01:26:28 2012 +0200

    Also check some other files
---
 lib/migrate.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/migrate.php b/lib/migrate.php
index 5939ba3..d05c781 100644
--- a/lib/migrate.php
+++ b/lib/migrate.php
@@ -322,7 +322,7 @@ class OC_Migrate{
 			$objects = scandir( $path );
 			if( sizeof( $objects ) > 0 ){
 				foreach( $objects as $file ){
-					if( $file == "." || $file == ".." )
+					if( $file == "." || $file == ".." || $file == ".htaccess")
 					continue;
 					// go on
 					if( is_dir( $path . '/' . $file ) ){

-- 
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