Skip to content

Commit

Permalink
Remove call to parent::__construct()
Browse files Browse the repository at this point in the history
While there are no bugs or side effects as in WPcom_JS_Concat( see 3ffe541 ), not calling the parent class's constructor seems like a safe bet from the long term perspective.
  • Loading branch information
david-binda committed Oct 27, 2016
1 parent 3ffe541 commit 2239f11
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cssconcat.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ function __construct( $styles ) {
}
unset( $this->$key );
}

parent::__construct();
}

function do_items( $handles = false, $group = false ) {
Expand Down

0 comments on commit 2239f11

Please sign in to comment.