aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/lock
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-07-16 12:56:22 +0200
committerRobin Appelman <icewind@owncloud.com>2015-08-03 14:13:36 +0200
commitc39ded21d2a2388d82e31448639517af0e2a2637 (patch)
tree3c13d21d663e59f59d566a2dd6216f6c66851ab4 /lib/private/lock
parent96a9d171b3fc31a6ad1ed89dca987765ed1ce721 (diff)
downloadnextcloud-server-c39ded21d2a2388d82e31448639517af0e2a2637.tar.gz
nextcloud-server-c39ded21d2a2388d82e31448639517af0e2a2637.zip
initialize unused (for now) ttl field to 0
Diffstat (limited to 'lib/private/lock')
-rw-r--r--lib/private/lock/dblockingprovider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/lock/dblockingprovider.php b/lib/private/lock/dblockingprovider.php
index aee66bca745..d7cbf5d9943 100644
--- a/lib/private/lock/dblockingprovider.php
+++ b/lib/private/lock/dblockingprovider.php
@@ -38,7 +38,7 @@ class DBLockingProvider extends AbstractLockingProvider {
}
protected function initLockField($path) {
- $this->connection->insertIfNotExist('*PREFIX*file_locks', ['path' => $path, 'lock' => 0], ['path']);
+ $this->connection->insertIfNotExist('*PREFIX*file_locks', ['path' => $path, 'lock' => 0, 'ttl' => 0], ['path']);
}
/**