[Bridge] Remove unused variable

This commit is contained in:
logmanoriginal 2016-09-02 18:12:37 +02:00
parent d520e82d9e
commit 37f269cf53

View file

@ -199,12 +199,11 @@ abstract class BridgeAbstract implements BridgeInterface {
if(!is_array($data)) if(!is_array($data))
return false; return false;
$validated=true;
foreach($data as $name=>$value){ foreach($data as $name=>$value){
$registered=false; $registered = false;
foreach(static::PARAMETERS as $context=>$set){ foreach(static::PARAMETERS as $context=>$set){
if(array_key_exists($name,$set)){ if(array_key_exists($name,$set)){
$registered=true; $registered = true;
if(!isset($set[$name]['type'])){ if(!isset($set[$name]['type'])){
$set[$name]['type']='text'; $set[$name]['type']='text';
} }