summaryrefslogtreecommitdiffstats
path: root/lib/private/lock
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-09-25 14:16:50 +0200
committerRobin Appelman <icewind@owncloud.com>2015-09-25 14:16:50 +0200
commitb2a528e3039386357929e7fc7889319b9e63d2ee (patch)
tree0419d17fcebb7aa3e7f2936f93a0288b1825b9a4 /lib/private/lock
parentf56c8288ca1dec4cdadf1951a787f109230bbb58 (diff)
downloadnextcloud-server-b2a528e3039386357929e7fc7889319b9e63d2ee.tar.gz
nextcloud-server-b2a528e3039386357929e7fc7889319b9e63d2ee.zip
remove warning when trying to get a lock while in transaction
Diffstat (limited to 'lib/private/lock')
-rw-r--r--lib/private/lock/dblockingprovider.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/lock/dblockingprovider.php b/lib/private/lock/dblockingprovider.php
index a08357a6024..8f017a713c1 100644
--- a/lib/private/lock/dblockingprovider.php
+++ b/lib/private/lock/dblockingprovider.php
@@ -102,10 +102,6 @@ class DBLockingProvider extends AbstractLockingProvider {
* @throws \OCP\Lock\LockedException
*/
public function acquireLock($path, $type) {
- if ($this->connection->inTransaction()) {
- $this->logger->warning("Trying to acquire a lock for '$path' while inside a transition");
- }
-
$expire = $this->getExpireTime();
if ($type === self::LOCK_SHARED) {
$result = $this->initLockField($path,1);