Skip to content
Snippets Groups Projects

explo new storm with more volatile

Merged Sebastien ANDRE requested to merge explo_new_storm into master
Viewing commit ad5d02cf
Show latest version
10 files
+ 44
35
Preferences
Compare changes
Files
10
@@ -102,7 +102,7 @@ class Class_Catalogue_Loader extends Storm_Model_Loader {
Class_CodifThesaurus::deleteAllWithIdOrigineAndCode($catalogue->getId(),
Class_CodifThesaurus::fixedCodeOf('Domain'));
$new_thesaurus = $catalogue->getNewThesaurus();
$new_thesaurus_id = Class_CodifThesaurus::findNextThesaurusChildId('catalogue',
$new_thesaurus_id = Class_CodifThesaurus::findNextThesaurusChildId('Catalogue',
$thesaurus_id);
$new_thesaurus->setIdThesaurus($new_thesaurus_id);
$new_thesaurus->save();
@@ -621,7 +621,7 @@ class Class_Catalogue_Loader extends Storm_Model_Loader {
if (!$thesaurus_parent)
return null;
$new_thesaurus_id=Class_CodifThesaurus::findNextThesaurusChildId(
'catalogue',
'Catalogue',
$thesaurus_parent->getIdThesaurus());
}
else if (strlen($thesaurus->getIdThesaurus())>8) {