diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-05-28 18:18:51 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-06-06 09:56:01 +0200 |
commit | a5752a846318f9204c0fe81cf3020b1a923dac38 (patch) | |
tree | 15f63758a6fc100a8516ef8e7a9f82d4c42920a6 /apps/files_sharing/appinfo | |
parent | e362373a30198b0dac6fbc9cd751a5eafe19e21a (diff) | |
download | nextcloud-server-a5752a846318f9204c0fe81cf3020b1a923dac38.tar.gz nextcloud-server-a5752a846318f9204c0fe81cf3020b1a923dac38.zip |
fix db query
Diffstat (limited to 'apps/files_sharing/appinfo')
-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 bc17915613c..fc547ba349d 100644 --- a/apps/files_sharing/appinfo/update.php +++ b/apps/files_sharing/appinfo/update.php @@ -21,7 +21,7 @@ if (version_compare($installedVersion, '0.3.5.6', '<')) { * should only be able to unshare single files but never to delete them. */ function updateFilePermissions($chunkSize = 99) { - $query = OCP\DB::prepare('SELECT * FROM `*PREFIX*share` WHERE item_type = ?'); + $query = OCP\DB::prepare('SELECT * FROM `*PREFIX*share` WHERE `item_type` = ?'); $result = $query->execute(array('file')); $updatedRows = array(); |