diff --git a/core/dbobject.class.php b/core/dbobject.class.php index 055d3ea1f..fdd1125e9 100644 --- a/core/dbobject.class.php +++ b/core/dbobject.class.php @@ -5257,10 +5257,6 @@ abstract class DBObject implements iDisplay throw new Exception('Missing argument #1: stimulus'); } $sStimulus = $aParams[0]; - if (!in_array($sStimulus, MetaModel::EnumStimuli(get_class($this)))) - { - throw new Exception("Unknown stimulus ".get_class($this)."::".$sStimulus); - } $this->ApplyStimulus($sStimulus); break;