remove func:NCMaint

This commit is contained in:
Asif Bacchus 2019-05-18 22:59:22 -06:00
parent fe513ec354
commit 6ea84d5356

View File

@ -164,13 +164,7 @@ function checkExist {
fi fi
} }
### ncMaint - pass requested mode change type to Seafile occ
function ncMaint {
sudo -u "${webUser}" php "${ncRoot}/occ" maintenance:mode --"$1" \
>> "$logFile" 2>&1
maintResult="$?"
return "$maintResult"
}
### cleanup - cleanup files and directories created by this script ### cleanup - cleanup files and directories created by this script
function cleanup { function cleanup {