Commit graph

214 commits

Author SHA1 Message Date
martinlanghoff
388cbbfb8e enrol/database: split out db connection/disconnection to separate methods
Split them out in preparation for a sync method -- encapsulates the
nasty MySQL hack.
2006-01-16 03:03:21 +00:00
martinlanghoff
8456874ab3 Merged from MOODLE_15_STABLE - Fix for bug 4031 -- fix typo 2005-09-07 23:24:29 +00:00
martinlanghoff
a96354b582 Merged from MOODLE_15_STABLE - Fix for bug 4031 -- stupid mistake of using get_record_select() when I mean get_record() - see the bug entry for more details 2005-09-07 22:49:32 +00:00
martinlanghoff
e91902556f Merged from MOODLE_15_STABLE - enrol/db - bug 3912 - Re-add the enrolment to $user->student[] - should fix things for good. 2005-09-07 06:39:30 +00:00
martinlanghoff
fd734f6165 Merged from MOODLE_15_STABLE - Fix for bug 4011 -- a MySQL specific workaround did not work with database names with hyphens, and broke the whole plugin for other databases. This patch fixes both issues. 2005-09-07 06:12:40 +00:00
martinlanghoff
a6d114e600 Merged from MOODLE_15_STABLE - enrolment fixes: We now have better handling of the enrol field when dealing with student enrolments. This fixes bugs 3912 and 3974. NOTE that enrol_student() now defaults to manual - this is to support the different pages that call enrol_student() to still work correctly when external enrolments are in use, by recording the enrolments as manual. Enrolment plugins are expected to know better and pass the correct parameter. 2005-08-26 06:11:38 +00:00
stronk7
894ff63f8f Tabs are out 2005-05-16 22:22:31 +00:00
moodler
210eddc7df Various cleanups for XHTML and so on 2005-02-08 17:56:22 +00:00
moodler
ea8dedc882 Merged change to restore $CFG->prefix from stable 2004-09-25 15:33:06 +00:00
moodler
a3224cc359 Merged improved database plugin for enrolment 2004-09-23 17:02:40 +00:00
moodler
76706cbfb0 iMerged from stable 2004-09-03 03:19:31 +00:00
moodler
64eba17e78 Fixed a typo 2004-08-23 12:04:55 +00:00
moodler
0f093efab2 Here finally is an admin interface for controlling the new enrolment plugins.
It's not at all well-tested yet (I made a lot of changes to it just tonight)
but it's late and I am literally sick (with flu) and tired so I'm checking
this in and going to bed.

Please fix all the bugs for me.   ;-)
2004-08-21 17:15:07 +00:00
moodler
1357be4a55 Old code, never checked in ... not really tested 2004-08-14 12:47:24 +00:00