Skip to content
Snippets Groups Projects
Commit a5752a84 authored by Björn Schießle's avatar Björn Schießle Committed by Robin Appelman
Browse files

fix db query

parent e362373a
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment