HFP-1678 Remove unsued variable

pull/44/head
Frode Petterson 2017-11-20 16:12:22 +01:00
parent f91f2e82fb
commit f3efd217c8
1 changed files with 0 additions and 2 deletions

View File

@ -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;
} }
} }