mirror of
https://github.com/nextcloud/server.git
synced 2026-02-25 19:04:38 -05:00
chore(files_reminders): Remove unused find
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
986666220a
commit
3b59f39d68
1 changed files with 0 additions and 10 deletions
|
|
@ -39,16 +39,6 @@ class ReminderMapper extends QBMapper {
|
|||
return $this->update($reminderUpdate);
|
||||
}
|
||||
|
||||
public function find(int $id): Reminder {
|
||||
$qb = $this->db->getQueryBuilder();
|
||||
|
||||
$qb->select('id', 'user_id', 'file_id', 'due_date', 'updated_at', 'created_at', 'notified')
|
||||
->from($this->getTableName())
|
||||
->where($qb->expr()->eq('id', $qb->createNamedParameter($id, IQueryBuilder::PARAM_INT)));
|
||||
|
||||
return $this->findEntity($qb);
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws DoesNotExistException
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue