Skip to content

Commit

Permalink
Remove unused function parameter
Browse files Browse the repository at this point in the history
Issue #26567
  • Loading branch information
atrol committed Jan 9, 2020
1 parent a6b919b commit 855c0d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/collapse_api.php
Expand Up @@ -118,10 +118,9 @@ function collapse_closed( $p_name, $p_section = '', $p_css_class = '' ) {
* for the user to toggle the collapse block status.
* This should appear in both the open and closed phase of a block.
* @param string $p_name Collapse block name.
* @param string $p_section Collapse block section.
* @return void
*/
function collapse_icon( $p_name, $p_section = '' ) {
function collapse_icon( $p_name ) {
global $g_open_collapse_section;

if( $g_open_collapse_section === true ) {
Expand Down

0 comments on commit 855c0d1

Please sign in to comment.