Skip to content

Commit cca1e98

Browse files
authored
Update HostExternal.sh
1 parent fbaad6e commit cca1e98

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Hochob/Services/Events/HostExternal.sh

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,10 @@ chooseReminder()
8181
chooseClosure()
8282
{
8383
LANGUAGE=$1
84-
rand=$[ $RANDOM % 3 ]
85-
echo $rand
86-
if [ "$rand" = "1" ]; then
87-
if [ "$LANGUAGE" = "english" ]; then
88-
LOCAL_CLOSURE=${LOCAL_CLOSURE_ENGLISH}
89-
else
90-
LOCAL_CLOSURE=${LOCAL_CLOSURE_SPANISH}
91-
fi
84+
if [ "$LANGUAGE" = "english" ]; then
85+
LOCAL_CLOSURE=${LOCAL_CLOSURE_ENGLISH}
86+
else
87+
LOCAL_CLOSURE=${LOCAL_CLOSURE_SPANISH}
9288
fi
9389
}
9490

0 commit comments

Comments
 (0)