webbuild: remove unused code around AS_HOST variable
This commit is contained in:
parent
466141bd3e
commit
9367503886
@ -20,18 +20,8 @@ if [ "$REQUEST" != "refresh" ]; then
|
||||
echo "`date` - USER=$USER&REQUEST=$REQUEST&ENVIRONMENT=$ENVIRONMENT&REPOSITORY=$REPOSITORY&PACKAGE=$PACKAGE&MAINTAINERMODE=$MAINTAINERMODE" >> $LOG
|
||||
fi
|
||||
|
||||
[ "$HOST" ] || HOST=0
|
||||
[ "$AS_HOST" ] || AS_HOST=0
|
||||
|
||||
[ "$AS_HOST" -a "$HOST" != "0" ] && HOST_ADD="&HOST=$HOST"
|
||||
|
||||
if [ "$AS_HOST" = "0" ]; then
|
||||
echo -e "Content-type: text/xml\nPragma: no-cache\n"
|
||||
# echo -e "Content-Length: 10485\n"
|
||||
echo -n "<webbuild>"
|
||||
else
|
||||
echo -e "Content-type: text/html; charset=UTF-8\n"
|
||||
fi
|
||||
echo -e "Content-type: text/xml\nPragma: no-cache\n"
|
||||
echo -n "<webbuild>"
|
||||
|
||||
# SECURITY
|
||||
USER_ENABLED=
|
||||
|
Loading…
Reference in New Issue
Block a user