mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-11-30 16:53:59 +00:00
simplify code
This commit is contained in:
parent
ad64bd21b7
commit
f9a073beab
@ -80,11 +80,7 @@ class JedcheckerRulesEncoding extends JEDcheckerRule
|
||||
|
||||
// Get the functions to look for
|
||||
$encodings = explode(',', $this->params->get('encodings'));
|
||||
|
||||
foreach ($encodings as $i => $encoding)
|
||||
{
|
||||
$encodings[$i] = trim($encoding);
|
||||
}
|
||||
$encodings = array_map('trim', $encodings);
|
||||
|
||||
$found = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user