forked from github/server
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
5119579498
|
@ -11,10 +11,5 @@ fi
|
||||||
|
|
||||||
for GAME in $*
|
for GAME in $*
|
||||||
do
|
do
|
||||||
if [ "$GAME" == "eressea" ]; then GAME=2 ; fi
|
$HOME/eressea/orders-php/check-orders.sh $GAME
|
||||||
if [ "$GAME" == "e3a" ]; then GAME=3 ; fi
|
|
||||||
if [ -e $HOME/eressea/game-$GAME/orders.queue ]
|
|
||||||
then
|
|
||||||
$HOME/bin/orders-process $GAME
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
|
@ -22,5 +22,5 @@ filename=$(basename "$ACCEPT_FILE")
|
||||||
email="$ACCEPT_MAIL"
|
email="$ACCEPT_MAIL"
|
||||||
if [ -d "$ERESSEA/orders-php" ]
|
if [ -d "$ERESSEA/orders-php" ]
|
||||||
then
|
then
|
||||||
php "$ERESSEA/orders-php/cli.php" insert "$filename" "$email" "$lang"
|
php "$ERESSEA/orders-php/cli.php" insert "$filename" "$lang" "$email"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -161,7 +161,7 @@ void autostudy_run(scholar scholars[], int nscholars)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#define MAXSCHOLARS 512
|
#define MAXSCHOLARS 1024
|
||||||
|
|
||||||
void do_autostudy(region *r)
|
void do_autostudy(region *r)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue