예제 #1
0
 /**
  * @see parent::delete()
  */
 function delete()
 {
     $this->loadRefCodageCCAM();
     if ($msg = parent::delete()) {
         return $msg;
     }
     if (CAppUI::conf('dPccam CCodeCCAM use_new_association_rules')) {
         $this->loadRefCodageCCAM();
         if (isset($this->_ref_codage_ccam)) {
             if ($this->_ref_codage_ccam->_id) {
                 $this->_ref_codage_ccam->updateRule(true);
             }
         }
         $this->_ref_codage_ccam->store();
     }
     return null;
 }