From 17ce21bb40613a2ccd75585c0355e3a272ddd825 Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Thu, 6 Mar 2003 15:55:58 +0000 Subject: [PATCH] set checked out user id if its not set --- sync/pathSync.php | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/sync/pathSync.php b/sync/pathSync.php index e4d4349..fd34abd 100644 --- a/sync/pathSync.php +++ b/sync/pathSync.php @@ -32,6 +32,9 @@ echo "
"; for ($i = 0; $i < count($aDocuments); $i++) { $oDocument = $aDocuments[$i]; echo "Updating document: " . $oDocument->getName() . "
"; + if ($oDocument->getCheckedOutUserID() == "") { + $oDocument->setCheckedOutUserID(-1); + } $oDocument->update(true); } -- libgit2 0.21.4