summaryrefslogtreecommitdiffstats
path: root/lib/private/Share/Share.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-08-01 12:49:41 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-05 14:13:41 +0200
commitf37fa6e45c4357ce9849543fa91551a62f3828b8 (patch)
tree0d2c79bc1d252d43770e839248c6d9b8bc312489 /lib/private/Share/Share.php
parent84e6b8d9d05f7e481276090101ddf77f1ab3cfdf (diff)
downloadnextcloud-server-f37fa6e45c4357ce9849543fa91551a62f3828b8.tar.gz
nextcloud-server-f37fa6e45c4357ce9849543fa91551a62f3828b8.zip
Move Share backends to PSR-4 instead of using class path (#24941)
Diffstat (limited to 'lib/private/Share/Share.php')
-rw-r--r--lib/private/Share/Share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share/Share.php b/lib/private/Share/Share.php
index fdc5818dbf7..9210dfd1fd1 100644
--- a/lib/private/Share/Share.php
+++ b/lib/private/Share/Share.php
@@ -2533,7 +2533,7 @@ class Share extends Constants {
}
} else {
if ($fileDependent) {
- if ($format == \OC_Share_Backend_File::FORMAT_GET_FOLDER_CONTENTS || $format == \OC_Share_Backend_File::FORMAT_FILE_APP_ROOT) {
+ if ($format == \OCA\Files_Sharing\ShareBackend\File::FORMAT_GET_FOLDER_CONTENTS || $format == \OCA\Files_Sharing\ShareBackend\File::FORMAT_FILE_APP_ROOT) {
$select = '`*PREFIX*share`.`id`, `item_type`, `item_source`, `*PREFIX*share`.`parent`, `uid_owner`, '
. '`share_type`, `share_with`, `file_source`, `path`, `file_target`, `stime`, '
. '`*PREFIX*share`.`permissions`, `expiration`, `storage`, `*PREFIX*filecache`.`parent` as `file_parent`, '