I have 44 attendance options (Present appears about 15 times; Absent appears about 15 times, etc.) I only need Present-P; Absent-A; Excused-E; and Late-L (one time only). Does anyone know how to delete the 40 options I don't need without having to delete them one at a time? I have 5 classes, so I would have to press the delete button 200 times. Thanks for any help. See attached for the 44 options that I see.
We are getting this exact same problem. We are running Moodle 2.2; we have the Attendance Module by Artem Andreev, version 20110701 (which I believe is the latest version with compatibility to Moodle 2+).
We upgraded to Moodle 2.2 from 1.9 this summer. Courses that were in use in 1.9 with an attendance module in place (and reset for this semester) work just fine. In any course (whether is brand new or upgraded) that we add a new attendance instance to, we get 108 variables (like the problem above).
Our faculty tend to use the attendance module heavily. If anyone has any thing we can try (other than manually removing 104 variables from 100+ courses...) I'd be very grateful!
Sorry I can't reproduce issue that you described.
As per my post above, we've been consistantly getting 108 variables for each new instance of attendance. This is ONLY happening with a new instance. If a course existed prior to our upgrade this summer, with an attendance activity, that attendance activity resets with just the four variables just fine.
My insanity-saving work-around has been to import just the attendance activity from an old course into any new courses requiring attendance. After manually deleting 104 variables, one by one, enough times, I discovered this would work, too. It's not a fix, but it saves time while we try to find the fix.
Our server admin has scheduled time next week to go through code to see if there's something duplicating or saving incorrectly on the server settings for attendance. I'll post any insights we find.
I don't know why (can't reproduce such problem), but on your server table "<your prefix>_attendance_statuses" contains a lot of entries with attendanceid==0. Such entries are used as template for every new attendance. You can delete unwanted entries and leave, for example, only one Present and one Absent.