Project

General

Profile

Feature #7202

Add session_id to track_e_default

Added by Yannick Warnier about 5 years ago. Updated over 4 years ago.

Status:
Feature implemented
Priority:
Urgent
Category:
Database & API changes
Target version:
Start date:
03/07/2014
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

...and update events::event_system() to accept a session_id, and coursemanager::unsubscribe_user() to call it if the unsubscription is in a session (currently, we have no tracking of that).

Associated revisions

Revision 3eb4b0ad (diff)
Added by Julio Montoya over 4 years ago

Add session_id see #7202

Revision 4610e417 (diff)
Added by Yannick Warnier over 4 years ago

Remove deletion of track_e_default registers on course deletion (avoids deleting course-creation register) ~ refs #7202

Revision fb7b9a25 (diff)
Added by Yannick Warnier over 4 years ago

Remove deletion of track_e_default registers on course deletion (avoids deleting course-creation register) (add comment) ~ refs #7202

Revision 7977580a (diff)
Added by Yannick Warnier over 4 years ago

Update Event::addEvent() and corresponding calls to use course ID instead of course code ~ refs #7202

Revision bda62cac (diff)
Added by Yannick Warnier over 4 years ago

Remove deletion of track_e_default registers on course deletion (avoids deleting course-creation register) (add comment) ~ refs #7202

Revision fb77df5e (diff)
Added by Yannick Warnier over 4 years ago

Renamed events.lib.inc.php to events.lib.php ~ refs #7202

Revision 6b9c77d5 (diff)
Added by Yannick Warnier over 4 years ago

Fix previous commit to Event::addEvent() - introduced bug with course ID and session ID ~ refs #7202

History

#1

Updated by Julio Montoya over 4 years ago

  • Status changed from New to Needs testing
  • Assignee deleted (Julio Montoya)
  • Target version changed from 2.0 to 1.10.0

Change added

#2

Updated by Yannick Warnier over 4 years ago

  • Status changed from Needs testing to Feature implemented
  • Assignee set to Yannick Warnier
  • % Done changed from 0 to 100

I commented out the track_e_default rows deletion on course delete. This is slightly related to this task, altough not the same point.

I also updated the addEvent() method to change course code to course ID. This should increase speed overall as otherwise a query was required each time to get the ID from the code in the course table.

Finally, I changed the events.lib.inc.php filename to events.lib.php (plus added lines to update-files-1.9.0-1.10.0.inc.php).

Tested in general and it works fine.

Also available in: Atom PDF