Commit 2db698ff authored by webchick's avatar webchick

Issue #2081155 by smiro: Remove Unused local variable from...

Issue #2081155 by smiro: Remove Unused local variable  from /core/modules/filter/lib/Drupal/filter/Plugin/Filter/FilterCaption.php.
parent c8faa4e1
......@@ -31,8 +31,6 @@ class FilterCaption extends FilterBase {
* {@inheritdoc}
*/
public function process($text, $langcode, $cache, $cache_id) {
$search = array();
$replace = array();
if (stristr($text, 'data-caption') !== FALSE || stristr($text, 'data-align') !== FALSE) {
$dom = filter_dom_load($text);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment