diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2013-10-08 15:45:52 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-08 16:00:26 +0200 |
commit | 6284ab31de660e4400e7e244e2a71096e6ed8f3b (patch) | |
tree | be937ecceccabfe8ac3bcf19804c886d2113ab74 /apps/files_sharing/appinfo/update.php | |
parent | 68e1dd1f2355576937b06b112b5060ae3c9984c0 (diff) | |
download | nextcloud-server-6284ab31de660e4400e7e244e2a71096e6ed8f3b.tar.gz nextcloud-server-6284ab31de660e4400e7e244e2a71096e6ed8f3b.zip |
fix escaping
Diffstat (limited to 'apps/files_sharing/appinfo/update.php')
-rw-r--r-- | apps/files_sharing/appinfo/update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/appinfo/update.php b/apps/files_sharing/appinfo/update.php index 87635a10b13..0d827da28ea 100644 --- a/apps/files_sharing/appinfo/update.php +++ b/apps/files_sharing/appinfo/update.php @@ -73,7 +73,7 @@ if (version_compare($installedVersion, '0.3', '<')) { if (version_compare($installedVersion, '0.3.5', '<')) { // get all shares where the original file no longer exists - $findShares = \OC_DB::prepare('SELECT `file_source` FROM `*PREFIX*share` LEFT JOIN `*PREFIX*filecache` ON `file_source` = `*PREFIX*filecache`.`fileid` WHERE `*PREFIX*filecache`.`fileid` IS NULL AND `*PREFIX*share`.`item_type` IN (`file`, `folder`)'); + $findShares = \OC_DB::prepare('SELECT `file_source` FROM `*PREFIX*share` LEFT JOIN `*PREFIX*filecache` ON `file_source` = `*PREFIX*filecache`.`fileid` WHERE `*PREFIX*filecache`.`fileid` IS NULL AND `*PREFIX*share`.`item_type` IN (\'file\', \'folder\')'); $sharesFound = $findShares->execute(array())->fetchAll(); // delete those shares from the oc_share table |