Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

store display-name on insert #172

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/Db/LocksRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
$qb->setValue('user_id', $qb->createNamedParameter($lock->getOwner()))
->setValue('file_id', $qb->createNamedParameter($lock->getFileId()))
->setValue('token', $qb->createNamedParameter($lock->getToken()))
->setValue('owner', $qb->createNamedParameter($lock->getDisplayName()))
->setValue('creation', $qb->createNamedParameter($lock->getCreatedAt()))
->setValue('type', $qb->createNamedParameter($lock->getType()))
->setValue('ttl', $qb->createNamedParameter($lock->getTimeout()));
Expand Down Expand Up @@ -146,7 +147,7 @@
*/
public function getLocksOlderThan(int $timeout): array {
$qb = $this->getLocksSelectSql();
$qb->andWhere($qb->expr()->lt('l.creation', $qb->createNamedParameter($timeout * 60, IQueryBuilder::PARAM_INT)));

Check failure on line 150 in lib/Db/LocksRequest.php

View workflow job for this annotation

GitHub Actions / Nextcloud dev-master

MissingDependency

lib/Db/LocksRequest.php:150:47: MissingDependency: OCA\FilesLock\Db\CoreQueryBuilder depends on class or interface oc\db\querybuilder\querybuilder that does not exist (see https://psalm.dev/157)

return $this->getLocksFromRequest($qb);
}
Expand Down
Loading