Skip to content

Commit

Permalink
Remove unused LST::noop() function (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega authored Mar 22, 2022
1 parent 898031e commit be6395a
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions includes/LST.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,23 +112,10 @@ private static function parse( $parser, $text, $part1, $skiphead = 0, $recursion
}
}

# #############################################################
##############################################################
# And now, the labeled section transclusion
##############################################################

/**
* Parser tag hook for <section>.
* The section markers aren't paired, so we only need to remove them.
*
* @param string $in
* @param array $assocArgs
* @param Parser $parser
* @return string
*/
private static function noop( $in, $assocArgs = [], $parser = null ) {
return '';
}

// Generate a regex to match the section(s) we're interested in.
private static function createSectionPattern( $sec, $to, &$any ) {
$any = false;
Expand Down

0 comments on commit be6395a

Please sign in to comment.