Skip to content

Commit

Permalink
Clean up extra variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Hemberger committed Feb 9, 2019
1 parent 67f438b commit a371ba1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/classes/class-section.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ class Mai_Section {
private $has_overlay;
private $has_inner;

private $image_sizes = array();

public function __construct( $args = array(), $content = null ) {

// Save original args in a variable for filtering later.
Expand Down Expand Up @@ -549,8 +547,6 @@ function calculate_srcset( $sources, $size_array, $image_src, $image_meta, $atta
continue;
}

$this->image_sizes[] = $value['width'];

// Add to our new srcset.
$sources[ $value['width'] ] = array(
'url' => $url,
Expand Down

0 comments on commit a371ba1

Please sign in to comment.