deltadak/plep

We have to call this method ourselves. https://github.com/deltadak/plep/issues/118

Closed this issue · 0 comments

@param parentTask
The parent task of which the id has changed.


opened via imdone.io from a code comment on 7a44954d89b6973509f3a52c437be6135bfaf82d by imdone.io app user hollandpirates@gmail.com


* changed. NOTE: We have to call this method ourselves. https://github.com/deltadak/plep/issues/118 id:0
*
* @param parentTask
* The parent task of which the id has changed.
*/
private void updateSubtasksID(HomeworkTask parentTask) {
String sql = "UPDATE subtasks SET parentID = " + countID
+ " WHERE parentID = " + parentTask.getDatabaseID();
query(sql);