diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-09-09 18:29:47 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-09-09 18:29:47 -0400 |
commit | deb1fbf9a1b9e3f0ac8da4ccc2c3d0e13c0d4f5a (patch) | |
tree | b2868e90a0935fcaef7441ed58ac69cc56c23282 /apps/files_sharing/lib | |
parent | 5c5955b31f25aa637edf955580508aa1a333777a (diff) | |
download | nextcloud-server-deb1fbf9a1b9e3f0ac8da4ccc2c3d0e13c0d4f5a.tar.gz nextcloud-server-deb1fbf9a1b9e3f0ac8da4ccc2c3d0e13c0d4f5a.zip |
Provide update script for files sharing
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r-- | apps/files_sharing/lib/share/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/share/file.php b/apps/files_sharing/lib/share/file.php index c8821ee0fe8..2149da1d731 100644 --- a/apps/files_sharing/lib/share/file.php +++ b/apps/files_sharing/lib/share/file.php @@ -30,7 +30,7 @@ class OC_Share_Backend_File implements OCP\Share_Backend_File_Dependent { public function isValidSource($itemSource, $uidOwner) { $path = OC_FileCache::getPath($itemSource, $uidOwner); - if (OC_Filesystem::file_exists($path)) { + if ($path) { $this->path = $path; return true; } |