From f3efd217c876ba6fe5146b9e93df7eedbfb83d5b Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Mon, 20 Nov 2017 16:12:22 +0100 Subject: [PATCH] HFP-1678 Remove unsued variable --- h5p.classes.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/h5p.classes.php b/h5p.classes.php index b19eeaa..629acd6 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -3667,7 +3667,6 @@ class H5PContentValidator { } if (!in_array($value->library, $semantics->options)) { $message = NULL; - $code = NULL; // Create an understandable error message: $machineNameArray = explode(' ', $value->library); $machineName = $machineNameArray[0]; @@ -3681,7 +3680,6 @@ class H5PContentValidator { '%contentLibrary' => $value->library, '%semanticsLibrary' => $semanticsLibrary )); - $code = ''; break; } }