Skip to content

Commit

Permalink
removing unnecessary cruft - no parameter is set, none to pass.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcclelland committed Nov 24, 2013
1 parent 8509994 commit dec10be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_sharing/appinfo/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@
if (version_compare($installedVersion, '0.3.5', '<')) {
// delete all shares where the original file no longer exists
$removeShares = \OC_DB::prepare('DELETE FROM `*PREFIX*share` WHERE `file_source` IN (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\'))');
$result = $removeShares->execute(array(implode(',', $delArray)));
$result = $removeShares->execute();
}

0 comments on commit dec10be

Please sign in to comment.