[Pkg-owncloud-commits] [owncloud] 03/07: Fix tabs/line endings

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


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

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

commit e81aacb438fc6bb924039ed28a52b62b5ebf340e
Author: Markus Goetz <markus at woboq.com>
Date:   Thu Jun 20 10:51:40 2013 +0200

    Fix tabs/line endings
---
 lib/connector/sabre/node.php |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/lib/connector/sabre/node.php b/lib/connector/sabre/node.php
index bac4418..641e037 100644
--- a/lib/connector/sabre/node.php
+++ b/lib/connector/sabre/node.php
@@ -277,21 +277,21 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
 		$query->execute(array_merge( $vals, $paths ));
 		
 		//remove etag for all Shared folders
-		$query = OC_DB::prepare( 'DELETE FROM `*PREFIX*properties`'
-				.' WHERE `propertypath` = \'/Shared\' '
-		);
+		$query = OC_DB::prepare( 'DELETE FROM `*PREFIX*properties`'
+				.' WHERE `propertypath` = \'/Shared\' '
+		);
 		$query->execute(array());
 		
 	}
 	
 	protected static function getFileSource($path) {
-		if ( OC_App::isEnabled('files_sharing') &&  !strncmp($path, '/Shared/', 8)) {
-			$source = OC_Files_Sharing_Util::getSourcePath(str_replace('/Shared/', '', $path));
-			$parts = explode('/', $source, 4);
-			$user =  $parts[1];
-			$path = '/'.$parts[3];
-		} else {
-			$user = OC_User::getUser();
+		if ( OC_App::isEnabled('files_sharing') &&  !strncmp($path, '/Shared/', 8)) {
+			$source = OC_Files_Sharing_Util::getSourcePath(str_replace('/Shared/', '', $path));
+			$parts = explode('/', $source, 4);
+			$user =  $parts[1];
+			$path = '/'.$parts[3];
+		} else {
+			$user = OC_User::getUser();
 		}
 		return(array('user' => $user, 'path' => $path));
 	}

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