forked from blallo/rss-bridge
[Bridge] Remove unused variable
This commit is contained in:
parent
d520e82d9e
commit
37f269cf53
1 changed files with 2 additions and 3 deletions
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue