HFP-1678 Remove unsued variable
parent
f91f2e82fb
commit
f3efd217c8
|
@ -3667,7 +3667,6 @@ class H5PContentValidator {
|
||||||
}
|
}
|
||||||
if (!in_array($value->library, $semantics->options)) {
|
if (!in_array($value->library, $semantics->options)) {
|
||||||
$message = NULL;
|
$message = NULL;
|
||||||
$code = NULL;
|
|
||||||
// Create an understandable error message:
|
// Create an understandable error message:
|
||||||
$machineNameArray = explode(' ', $value->library);
|
$machineNameArray = explode(' ', $value->library);
|
||||||
$machineName = $machineNameArray[0];
|
$machineName = $machineNameArray[0];
|
||||||
|
@ -3681,7 +3680,6 @@ class H5PContentValidator {
|
||||||
'%contentLibrary' => $value->library,
|
'%contentLibrary' => $value->library,
|
||||||
'%semanticsLibrary' => $semanticsLibrary
|
'%semanticsLibrary' => $semanticsLibrary
|
||||||
));
|
));
|
||||||
$code = '';
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue