File tree 1 file changed +2
-21
lines changed
1 file changed +2
-21
lines changed Original file line number Diff line number Diff line change @@ -25,32 +25,13 @@ if [ -z ${MOODLE_HOST_NOPORT} ]; then
25
25
fi
26
26
fi
27
27
28
- FREETDS_FILE=" /etc/freetds.conf" ;
29
- FREETDS_VERSION=" 4.2" ;
30
-
31
- # Helpers
32
-
33
- mssql_freetds () {
34
-
35
- cat << EOT > ${FREETDS_FILE}
36
- [global]
37
- tds version = ${FREETDS_VERSION}
38
- text size = 20971520
39
- host = ${DB_HOST}
40
- port = 1433
41
- client charset = UTF-8
42
- EOT
43
-
44
- }
45
-
46
28
# Main Begins
47
29
48
30
if [ $1 == " moodle" ]; then
49
31
50
- if [ ${DB_TYPE} == " mssql " ]; then
51
- echo " The packages required for this require PHP 7, hence MSSQL is not currently supported " ;
32
+ if [ ${DB_TYPE} == " oci " ]; then
33
+ echo " Oracle database is not currently supported due to licensing issues with their client " ;
52
34
exit 1
53
- # mssql_freetds;
54
35
fi
55
36
sed -e " s/pgsql/${DB_TYPE} /
56
37
s/username/${DB_USER} /
You can’t perform that action at this time.
0 commit comments