srchub-old

srchub-old Commit Details


Date:2013-08-11 17:15:00 (11 years 4 months ago)
Author:Natalie Adams
Branch:default
Commit:791947e132cd
Parents: 5c708d546d02
Message:Fixing an issue with project activity FK constraints when deleting a project.

Changes:
Mindefero/src/IDF/Form/Admin/ProjectDelete.php (1 diff)

File differences

indefero/src/IDF/Form/Admin/ProjectDelete.php
8080
8181
8282
83
84
85
86
8387
8488
8589
// So, we drop the project, it will cascade and delete all the
// elements of the project. For large projects, this may use
// quite some memory.
// This is to fix a FK constraint
$this->project->current_activity = null;
$this->project->update();
$this->project->delete();
return true;
}

Archive Download the corresponding diff file

Branches

Tags

Page rendered in 0.42998s using 14 queries.