Project

General

Profile

Feature #5842

Upgrade: Clean tasks from users who have been deleted

Added by Yannick Warnier almost 7 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Installation / Migration
Target version:
Start date:
24/12/2012
Due date:
% Done:

0%

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

Description

Through #5783, it has come to our attention that the UserManager::delete_user() method didn't include a mechanism to delete tasks from users who have been removed from the system.
As such, we have updated work.lib.php (see #5783) to include a JOIN on the user table. This, however, is inefficient. Now that #5783 has implemented the right mechanism in delete_user(), remove all the "ghost" assignments from the c_student_publication table during the upgrade from 1.9 to 1.10.

Then remove the check on the user table from work.lib.php.


Related issues

Related to Chamilo LMS - Bug #5783: The deleted assignments are counted in the total number of documentsBug resolved28/11/2012

Actions

History

#1

Updated by Yannick Warnier over 3 years ago

  • Target version changed from 2.0 to 3.0

Also available in: Atom PDF