diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-04-08 15:21:52 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-05-18 11:06:23 +0200 |
commit | dd3d0194a691c0718ec9c91d4e2f18ca0479e4a7 (patch) | |
tree | 43303bda3fbdf3354237d684993cd681579f6d30 /apps/files_sharing/lib/sharedmount.php | |
parent | 73a3086945b41afa39debd89481c021934dedb67 (diff) | |
download | nextcloud-server-dd3d0194a691c0718ec9c91d4e2f18ca0479e4a7.tar.gz nextcloud-server-dd3d0194a691c0718ec9c91d4e2f18ca0479e4a7.zip |
Move files sharing app (mostly) to OCP\DB
Diffstat (limited to 'apps/files_sharing/lib/sharedmount.php')
-rw-r--r-- | apps/files_sharing/lib/sharedmount.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/sharedmount.php b/apps/files_sharing/lib/sharedmount.php index 15aea0aa52a..2afc0f1f270 100644 --- a/apps/files_sharing/lib/sharedmount.php +++ b/apps/files_sharing/lib/sharedmount.php @@ -87,7 +87,7 @@ class SharedMount extends MountPoint implements MoveableMount { // if the user renames a mount point from a group share we need to create a new db entry // for the unique name if ($share['share_type'] === \OCP\Share::SHARE_TYPE_GROUP && empty($share['unique_name'])) { - $query = \OC_DB::prepare('INSERT INTO `*PREFIX*share` (`item_type`, `item_source`, `item_target`,' + $query = \OCP\DB::prepare('INSERT INTO `*PREFIX*share` (`item_type`, `item_source`, `item_target`,' .' `share_type`, `share_with`, `uid_owner`, `permissions`, `stime`, `file_source`,' .' `file_target`, `token`, `parent`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)'); $arguments = array($share['item_type'], $share['item_source'], $share['item_target'], @@ -95,7 +95,7 @@ class SharedMount extends MountPoint implements MoveableMount { $newPath, $share['token'], $share['id']); } else { // rename mount point - $query = \OC_DB::prepare( + $query = \OCP\DB::prepare( 'Update `*PREFIX*share` SET `file_target` = ? WHERE `id` = ?' |