[Pkg-owncloud-commits] [owncloud] 245/258: try to get path from filesystem

David Prévot taffit at moszumanska.debian.org
Sat Oct 11 17:22:41 UTC 2014


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

taffit pushed a commit to branch master
in repository owncloud.

commit f4c91f0e82e3378768220df0ff7ea1a5c9964209
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date:   Thu Oct 9 15:38:40 2014 +0200

    try to get path from filesystem
---
 apps/files_sharing/lib/share/file.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/apps/files_sharing/lib/share/file.php b/apps/files_sharing/lib/share/file.php
index dacdb93..a5b4e75 100644
--- a/apps/files_sharing/lib/share/file.php
+++ b/apps/files_sharing/lib/share/file.php
@@ -49,6 +49,11 @@ class OC_Share_Backend_File implements OCP\Share_Backend_File_Dependent {
 			$path = $this->path;
 			$this->path = null;
 			return $path;
+		} else {
+			$path = \OC\Files\Filesystem::getPath($itemSource);
+			if ($path) {
+				return $path;
+			}
 		}
 		return false;
 	}

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