Commit e1366614 authored by Marco Villegas's avatar Marco Villegas
Browse files

Set the not nested save option on repository locking operations.

parent 7842e8f0
Loading
Loading
Loading
Loading
+2 −2
Changes for includes/VersioncontrolRepository.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -1027,7 +1027,7 @@ abstract class VersioncontrolRepository implements VersioncontrolEntityInterface
      throw new VersioncontrolLockedRepositoryException($msg, E_RECOVERABLE_ERROR);
    }
    $this->updateLock();
    $this->update();
    $this->update(array('nested' => FALSE));
    return TRUE;
  }

@@ -1036,7 +1036,7 @@ abstract class VersioncontrolRepository implements VersioncontrolEntityInterface
   */
  public function unlock() {
    $this->updateLock(0);
    $this->update();
    $this->update(array('nested' => FALSE));
  }

  /**