Details
-
Type:
Task
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Fix Version/s: 1.8
-
Component/s: Authentication, Enrolments
-
Labels:None
-
Environment:Moodle 1.8 and any DB
-
Database:MySQL, PostgreSQL, Microsoft SQL, Oracle
-
Affected Branches:MOODLE_18_STABLE
-
Fixed Branches:MOODLE_18_STABLE
Description
I've performed some changes both in auth/db/auth.php and enrol/database/enrol.php
The idea is that now we are using non-persistent connections for both plugins (because such connections "only" happen on login and enrol and not foreach request).
Also, I've deleted one existing hack to avoid some problems when connecting to the same DB under mysql, replacing it by the use of the 5th parameter ($forceNew) set to true, so new connections will be always forced.
Both changes have to be checked under the 4 currently supported DBs. Let's start tomorrow with them. But, if somebody checks them before, better. ![]()
auth checked against MySQL, PostgreSQL and MSSQL databases.
Going to enrol now...