]> source.dussan.org Git - nextcloud-server.git/commitdiff
make getFileSource static
authorBjörn Schießle <schiessle@owncloud.com>
Thu, 8 Nov 2012 14:23:09 +0000 (15:23 +0100)
committerBjörn Schießle <schiessle@owncloud.com>
Thu, 8 Nov 2012 14:23:09 +0000 (15:23 +0100)
lib/connector/sabre/node.php

index 26983be2f8a364b8c986910d8522b539ca339df3..6a2ad22fd5d0a29d497ebf85bf615c21791197d3 100644 (file)
@@ -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)) {\r
                        $source = OC_Files_Sharing_Util::getSourcePath(str_replace('/Shared/', '', $path));\r
                        $parts = explode('/', $source, 4);\r