Hotline#37385 phase de suppression des notices sans exemplaires trop longue
Merged
requested to merge hotline#37385_phase_de_suppression_des_notices_sans_exemplaires_trop_longue into stable
Merge request reports
Activity
Filter activity
49 if (0 < $this->_getData('deleted')) 50 $this->_log->ecrire($this->_getData('deleted').' notices sans exemplaire supprimées'); 51 $this->_log->ecrire('Temps de traitement: '.$this->_chrono->endMain().' ('.$this->_chrono->mainAverage($this->_getData('nombre'), 'notices').')' ); 52 $this->_log->ecrire('Temps de traitement: '.$this->_chrono->endMain().' ('.$this->_chrono->mainAverage($this->_getData('deleted'), 'notices').')' ); 52 53 } 53 54 54 55 55 protected function _runOne($notice) { 56 $this->_incrementData('nombre'); 57 58 if ($notice->hasExemplaires()) 59 return; 60 61 $notice->delete(); 56 protected function _runOne($record_id) { 57 Class_Notice::find($record_id)->delete(); mentioned in commit 50686858
Please register or sign in to reply