Draft sandbox : automate bokeh flush before import
Merge request reports
Activity
Filter activity
added 1 commit
- f1bbab96 - sandbox : automate bokeh flush before import
added 17 commits
-
f1bbab96...061a7043 - 16 commits from branch
hotline
- bc56c271 - sandbox : automate bokeh flush before import
-
f1bbab96...061a7043 - 16 commits from branch
added 1 commit
- 0af9f75d - sandbox : automate bokeh flush before import
- Resolved by Arthur Suzuki
- Resolved by Arthur Suzuki
- Resolved by Arthur Suzuki
- Resolved by Arthur Suzuki
- Resolved by Arthur Suzuki
- Resolved by Arthur Suzuki
Manque le fichier version_file
Edited by Sebastien ANDRE- Resolved by Arthur Suzuki
- Resolved by Arthur Suzuki
- Resolved by Arthur Suzuki
- Resolved by Arthur Suzuki
- Resolved by Arthur Suzuki
added 1 commit
- 692ff457 - sandbox : automate bokeh flush before import
added 7 commits
-
692ff457...84b0c677 - 6 commits from branch
hotline
- b1c79a1c - sandbox : automate bokeh flush before import
-
692ff457...84b0c677 - 6 commits from branch
289 284 protected function _getNextIntegrationFileName() { 290 285 return 'integre' . (Class_CosmoVar::get('ID_upload') + 1) . '.pan'; 291 286 } 287 288 289 protected function _flushBokeh() { 290 Class_CosmoVar::setValueOf('flush_before_full', 0); 291 if (!Class_IntBib::isSingleSigb()) { 292 $this->_log->error($this->_('<h3>Pas de vidage de la base (mode unique désactivé)</h3>')); 293 return; 294 } 295 296 array_map(function ($notice) { if($notice->isSigb()) $notice->delete(); }, 297 Class_Notice::findAll()); 298 array_map(function ($exemplaire) { if(!$exemplaire->getNotice()) $exemplaire->delete(); }, 299 Class_Exemplaire::findAll()); changed this line in version 7 of the diff
291 if (!Class_IntBib::isSingleSigb()) { 292 $this->_log->error($this->_('<h3>Pas de vidage de la base (mode unique désactivé)</h3>')); 293 return; 294 } 295 296 array_map(function ($notice) { if($notice->isSigb()) $notice->delete(); }, 297 Class_Notice::findAll()); 298 array_map(function ($exemplaire) { if(!$exemplaire->getNotice()) $exemplaire->delete(); }, 299 Class_Exemplaire::findAll()); 300 array_map(function ($tag) { if(!$tag->getNotice()) $tag->delete(); }, 301 Class_CodifTags::findAll()); 302 303 Class_Notice_SerialArticles::deleteBy([]); 304 Class_NoticeSuccincte::deleteBy([]); 305 306 $this->_log->success($this->_('<h3>Vidage de la base effectué</h3>'));