Browse Source

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

remove warning when trying to get a lock while in transaction
remotes/origin/certificate-external-storage-visibility
Thomas Müller 10 years ago
parent
commit
69430e0310
  1. 4
      lib/private/lock/dblockingprovider.php

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

Loading…
Cancel
Save