Skip to content
Snippets Groups Projects
Commit bbaed0b7 authored by srosse's avatar srosse
Browse files

OO-3274: check if there is something to backup before doing it

parent 30056e89
No related branches found
No related tags found
No related merge requests found
......@@ -178,11 +178,11 @@ public class TaxonomyServiceImpl implements TaxonomyService {
}
VFSManager.copyContent(library, lastStorage);
//delete the competences
taxonomyCompetenceDao.deleteCompetences(taxonomyLevel);
//questions
taxonomyRelationsDao.removeFromQuestionItems(taxonomyLevel);
}
//delete the competences
taxonomyCompetenceDao.deleteCompetences(taxonomyLevel);
//questions
taxonomyRelationsDao.removeFromQuestionItems(taxonomyLevel);
}
return taxonomyLevelDao.delete(reloadedTaxonomyLevel);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment