From b2a528e3039386357929e7fc7889319b9e63d2ee Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 25 Sep 2015 14:16:50 +0200 Subject: [PATCH] remove warning when trying to get a lock while in transaction --- lib/private/lock/dblockingprovider.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/private/lock/dblockingprovider.php b/lib/private/lock/dblockingprovider.php index a08357a602..8f017a713c 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);