mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Can view attachts in shared notes as long also share the files.
This commit is contained in:
@@ -73,8 +73,7 @@ class AttachMapper extends QBMapper {
|
||||
* @param string $userId
|
||||
* @param int $noteId
|
||||
* @throws \OCP\AppFramework\Db\DoesNotExistException if not found
|
||||
* @throws \OCP\AppFramework\Db\MultipleObjectsReturnedException if more than one result
|
||||
* @return Note[]
|
||||
* @return Attach[]
|
||||
*/
|
||||
public function findFromNote($userId, $noteId) {
|
||||
$qb = $this->db->getQueryBuilder();
|
||||
@@ -86,4 +85,5 @@ class AttachMapper extends QBMapper {
|
||||
);
|
||||
return $this->findEntities($qb);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user