mirror of
https://github.com/nextcloud/server.git
synced 2024-08-16 02:18:04 +02:00
use OC_DB::executeAudited
This commit is contained in:
parent
5a9e473a79
commit
acd3c11e47
@ -295,12 +295,10 @@ class Share {
|
||||
`item_source` = ? AND `item_type` = ? AND `share_with` in (?)'
|
||||
);
|
||||
|
||||
$result = $query->execute(array($itemSource, $itemType, implode(',', $groups)));
|
||||
$result = \OC_DB::executeAudited($query, array($itemSource, $itemType, implode(',', $groups)));
|
||||
|
||||
if($result) {
|
||||
while ($row = $result->fetchRow()) {
|
||||
$shares[] = $row;
|
||||
}
|
||||
while ($row = $result->fetchRow()) {
|
||||
$shares[] = $row;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user