remove warning when trying to get a lock while in transaction

This commit is contained in:
Robin Appelman 2015-09-25 14:16:50 +02:00
parent f56c8288ca
commit b2a528e303
1 changed files with 0 additions and 4 deletions

View File

@ -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);