summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/updater.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2015-04-08 15:21:52 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2015-05-18 11:06:23 +0200
commitdd3d0194a691c0718ec9c91d4e2f18ca0479e4a7 (patch)
tree43303bda3fbdf3354237d684993cd681579f6d30 /apps/files_sharing/lib/updater.php
parent73a3086945b41afa39debd89481c021934dedb67 (diff)
downloadnextcloud-server-dd3d0194a691c0718ec9c91d4e2f18ca0479e4a7.tar.gz
nextcloud-server-dd3d0194a691c0718ec9c91d4e2f18ca0479e4a7.zip
Move files sharing app (mostly) to OCP\DB
Diffstat (limited to 'apps/files_sharing/lib/updater.php')
-rw-r--r--apps/files_sharing/lib/updater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/updater.php b/apps/files_sharing/lib/updater.php
index 88bb68aa36e..bd8cd1ff238 100644
--- a/apps/files_sharing/lib/updater.php
+++ b/apps/files_sharing/lib/updater.php
@@ -138,7 +138,7 @@ class Shared_Updater {
*/
static public function fixBrokenSharesOnAppUpdate() {
// delete all shares where the original file no longer exists
- $findAndRemoveShares = \OC_DB::prepare('DELETE FROM `*PREFIX*share` ' .
+ $findAndRemoveShares = \OCP\DB::prepare('DELETE FROM `*PREFIX*share` ' .
'WHERE `item_type` IN (\'file\', \'folder\') ' .
'AND `file_source` NOT IN (SELECT `fileid` FROM `*PREFIX*filecache`)'
);