Merge pull request #19367 from owncloud/lock-transaction-no-log

remove warning when trying to get a lock while in transaction
This commit is contained in:
Thomas Müller 2015-09-29 13:18:34 +02:00
commit 69430e0310
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);