diff --git a/modules/api/php/endpoints/candidate/visit/instrument/instrument.class.inc b/modules/api/php/endpoints/candidate/visit/instrument/instrument.class.inc index 200addd4819..ee2047b3239 100644 --- a/modules/api/php/endpoints/candidate/visit/instrument/instrument.class.inc +++ b/modules/api/php/endpoints/candidate/visit/instrument/instrument.class.inc @@ -177,7 +177,6 @@ class Instrument extends Endpoint implements \LORIS\Middleware\ETagCalculator } try { - $instrumentname = $this->_instrument->testName; $this->_instrument->clearInstrument(); $this->_instrument->_saveValues($data['Data']); $this->_instrument->score(); @@ -220,7 +219,6 @@ class Instrument extends Endpoint implements \LORIS\Middleware\ETagCalculator } try { - $instrumentname = $this->_instrument->testName; $this->_instrument->_saveValues($data['Data']); $this->_instrument->score(); $this->_instrument->updateRequiredElementsCompletedFlag();