[Pkg-owncloud-commits] [owncloud] 74/394: make getFileSource static

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


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

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

commit 9e0a6d86ba23bb171c3e2e1309806c74f9c7fbe8
Author: Björn Schießle <schiessle at owncloud.com>
Date:   Thu Nov 8 15:23:09 2012 +0100

    make getFileSource static
---
 lib/connector/sabre/node.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/connector/sabre/node.php b/lib/connector/sabre/node.php
index 26983be..6a2ad22 100644
--- a/lib/connector/sabre/node.php
+++ b/lib/connector/sabre/node.php
@@ -284,7 +284,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
 		
 	}
 	
-	protected function getFileSource($path) {
+	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);

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