remove func:NCMaint
This commit is contained in:
parent
fe513ec354
commit
6ea84d5356
@ -164,13 +164,7 @@ function checkExist {
|
||||
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
|
||||
function cleanup {
|
||||
|
Loading…
Reference in New Issue
Block a user